Fix a logic error so mtu works.
bug:17046179 Change-Id: I744a2fd425627da16d9779df3a96541506e0b6b3
This commit is contained in:
@@ -1534,7 +1534,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
return;
|
||||
}
|
||||
|
||||
if (LinkProperties.isValidMtu(mtu, newLp.hasGlobalIPv6Address())) {
|
||||
if (LinkProperties.isValidMtu(mtu, newLp.hasGlobalIPv6Address()) == false) {
|
||||
loge("Unexpected mtu value: " + mtu + ", " + iface);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user