Merge "[Thread] Let TunInterfaceController.getLinkProperties() return a copy of LinkProperties" into main
This commit is contained in:
commit
b5e5d3bef9
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ public class TunInterfaceController {
|
|||
|
||||
/** Returns link properties of the Thread TUN interface. */
|
||||
public LinkProperties getLinkProperties() {
|
||||
return mLinkProperties;
|
||||
return new LinkProperties(mLinkProperties);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue