Include the interface for clearDnsInterfaceForUidRange
With netd allowing overlapping rules for uid range rules the interface name is needed to make sure only the correct rule is removed. Bug: 12134439 Change-Id: I94f77f154f49ca8d5f6cf49683a4473cc92c3eb7
This commit is contained in:
@@ -3898,7 +3898,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
boolean forwardDns) {
|
||||
try {
|
||||
mNetd.clearUidRangeRoute(interfaze, uidStart, uidEnd);
|
||||
if (forwardDns) mNetd.clearDnsInterfaceForUidRange(uidStart, uidEnd);
|
||||
if (forwardDns) mNetd.clearDnsInterfaceForUidRange(interfaze, uidStart, uidEnd);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user