[BACK]Return to net.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/utils/sysinst/Attic/net.c between version 1.113.2.1 and 1.113.2.2

version 1.113.2.1, 2006/12/09 11:44:42 version 1.113.2.2, 2007/03/31 16:26:02
Line 649  again:
Line 649  again:
                         /* pull hostname out of leases file */                          /* pull hostname out of leases file */
                         dhcp_host[0] = 0;                          dhcp_host[0] = 0;
                         get_dhcp_value(dhcp_host, sizeof(dhcp_host),                          get_dhcp_value(dhcp_host, sizeof(dhcp_host),
                             "hostname");                              "host-name");
                         if (dhcp_host[0] != '\0') {                          if (dhcp_host[0] != '\0') {
                                 net_dhcpconf |= DHCPCONF_HOST;                                  net_dhcpconf |= DHCPCONF_HOST;
                                 strlcpy(net_host, dhcp_host, sizeof net_host);                                  strlcpy(net_host, dhcp_host, sizeof net_host);

Legend:
Removed from v.1.113.2.1  
changed lines
  Added in v.1.113.2.2

CVSweb <webmaster@jp.NetBSD.org>