[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.114 and 1.115

version 1.114, 2006/12/05 10:21:09 version 1.115, 2007/03/23 12:51:03
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.114  
changed lines
  Added in v.1.115

CVSweb <webmaster@jp.NetBSD.org>