diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2002-02-28 20:38:14 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2002-02-28 20:38:14 +0000 |
commit | afecb49da8bbdef9fa714656e798618ee03ff2d7 (patch) | |
tree | 18b19a0dfb672fd417798a509a05dda8cd08fa42 /usr.sbin/dhcp/dhclient | |
parent | e886648ceee64a8493be10894eaff29d88f58024 (diff) |
no, that error message was bad.
Diffstat (limited to 'usr.sbin/dhcp/dhclient')
-rw-r--r-- | usr.sbin/dhcp/dhclient/dhclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcp/dhclient/dhclient.c b/usr.sbin/dhcp/dhclient/dhclient.c index 4844ffd0960..5f3492a5c2c 100644 --- a/usr.sbin/dhcp/dhclient/dhclient.c +++ b/usr.sbin/dhcp/dhclient/dhclient.c @@ -2317,8 +2317,8 @@ int check_option (struct client_lease *l, int option) { /* This has to be a valid internet domain name */ if (!res_hnok(sbuf)) { warn("Bogus Host Name option %d: %s (%s)", option, - sbuf, option); - return(1); + sbuf, opbuf); + return(0); } return(1); case DHO_PAD : |