summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2007-01-29 15:55:13 +0000
committerbrooks <brooks@FreeBSD.org>2007-01-29 15:55:13 +0000
commit68bfc5b67867dc6e00ff341434b51fac8bfbf21e (patch)
tree57b191c98f5a6734e3501a42dfe3f7ddbabe4bcf /sbin
parentc8cb2f0c11349d36c889327ff032faf391fe8896 (diff)
downloadFreeBSD-src-68bfc5b67867dc6e00ff341434b51fac8bfbf21e.zip
FreeBSD-src-68bfc5b67867dc6e00ff341434b51fac8bfbf21e.tar.gz
Actually implement rev 1.12 for host names and NIS domain names. We
were removing the invalid option, but still rejecting the lease. Reported by: Yoshihiko Sarumaru <mistral at imasy dot or dot jp>
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhclient/dhclient.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index ce40562..4fa55ed 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -2318,7 +2318,6 @@ check_option(struct client_lease *l, int option)
sbuf, opbuf);
l->options[option].len = 0;
free(l->options[option].data);
- return (0);
}
return (1);
case DHO_DOMAIN_NAME:
OpenPOWER on IntegriCloud