mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Now I remember why I didn't write out the gateway in the DHCP case;
it was a feature.
This commit is contained in:
parent
df2ef4c180
commit
f53cb8a8cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57365
@ -369,7 +369,7 @@ tcpOpenDialog(Device *devp)
|
||||
if (domainname[0])
|
||||
variable_set2(VAR_DOMAINNAME, domainname, 0);
|
||||
if (gateway[0])
|
||||
variable_set2(VAR_GATEWAY, gateway, 1);
|
||||
variable_set2(VAR_GATEWAY, gateway, use_dhcp ? 0 : 1);
|
||||
if (nameserver[0])
|
||||
variable_set2(VAR_NAMESERVER, nameserver, 0);
|
||||
if (ipaddr[0])
|
||||
|
@ -369,7 +369,7 @@ tcpOpenDialog(Device *devp)
|
||||
if (domainname[0])
|
||||
variable_set2(VAR_DOMAINNAME, domainname, 0);
|
||||
if (gateway[0])
|
||||
variable_set2(VAR_GATEWAY, gateway, 1);
|
||||
variable_set2(VAR_GATEWAY, gateway, use_dhcp ? 0 : 1);
|
||||
if (nameserver[0])
|
||||
variable_set2(VAR_NAMESERVER, nameserver, 0);
|
||||
if (ipaddr[0])
|
||||
|
Loading…
Reference in New Issue
Block a user