Fix the bug net.dns1.pid is same as net.dns2.pid am: 48d1833b15
Original change: undetermined Change-Id: Iaf0ab0f221c677e44dbc64393351a20a22879711
This commit is contained in:
@@ -2179,8 +2179,9 @@ private NetworkStateTracker makeWimaxStateTracker() {
|
|||||||
String dnsString = dns.getHostAddress();
|
String dnsString = dns.getHostAddress();
|
||||||
if (changed || !dnsString.equals(SystemProperties.get("net.dns" + j + "." + pid))) {
|
if (changed || !dnsString.equals(SystemProperties.get("net.dns" + j + "." + pid))) {
|
||||||
changed = true;
|
changed = true;
|
||||||
SystemProperties.set("net.dns" + j++ + "." + pid, dns.getHostAddress());
|
SystemProperties.set("net.dns" + j + "." + pid, dns.getHostAddress());
|
||||||
}
|
}
|
||||||
|
j++;
|
||||||
}
|
}
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user