Add per network static IP settings
Remove the existing global static IP settings and add support for per network configuration Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
This commit is contained in:
@@ -37,6 +37,19 @@ public class DhcpInfo implements Parcelable {
|
|||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** copy constructor {@hide} */
|
||||||
|
public DhcpInfo(DhcpInfo source) {
|
||||||
|
if (source != null) {
|
||||||
|
ipAddress = source.ipAddress;
|
||||||
|
gateway = source.gateway;
|
||||||
|
netmask = source.netmask;
|
||||||
|
dns1 = source.dns1;
|
||||||
|
dns2 = source.dns2;
|
||||||
|
serverAddress = source.serverAddress;
|
||||||
|
leaseDuration = source.leaseDuration;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuffer str = new StringBuffer();
|
StringBuffer str = new StringBuffer();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user