summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-06-30 05:32:42 +0000
committerbrooks <brooks@FreeBSD.org>2005-06-30 05:32:42 +0000
commitb862e397733a83bf7845548cfea526d1198a0f19 (patch)
treeaeed49293089652a8bc35f8cfb5ff9aeac870ae3 /sbin
parent8ea01c09221d72e461598819ae9755445ca2f17c (diff)
downloadFreeBSD-src-b862e397733a83bf7845548cfea526d1198a0f19.zip
FreeBSD-src-b862e397733a83bf7845548cfea526d1198a0f19.tar.gz
People like to do RFC violating things with the domain-name option and
include a space seperated list of domains instead of the domain of the host. This is supported on too many platforms to break for now so, remove validation of this option for the moment. The correct solution longer term is to implement RFC 3397 support and then treat domain-name options containing space seperated lists of domains as domain-search options for backwards compatability. Approved by: re (dhclient blanket)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhclient/dhclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 24bf88b..3147d61 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -2234,7 +2234,6 @@ check_option(struct client_lease *l, int option)
}
return (1) ;
case DHO_HOST_NAME:
- case DHO_DOMAIN_NAME:
case DHO_NIS_DOMAIN:
if (!res_hnok(sbuf)) {
warning("Bogus Host Name option %d: %s (%s)", option,
@@ -2242,6 +2241,7 @@ check_option(struct client_lease *l, int option)
return (0);
}
return (1);
+ case DHO_DOMAIN_NAME:
case DHO_PAD:
case DHO_TIME_OFFSET:
case DHO_BOOT_SIZE:
OpenPOWER on IntegriCloud