Add per network static IP settings am: a416052905
Original change: undetermined Change-Id: I5ea28c432a61354cc0bbb6592b925f70b276b070
This commit is contained in:
@@ -37,6 +37,19 @@ public class DhcpInfo implements Parcelable {
|
||||
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() {
|
||||
StringBuffer str = new StringBuffer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user