diff options
author | 2013-07-07 00:04:58 +0000 | |
---|---|---|
committer | 2013-07-07 00:04:58 +0000 | |
commit | d8db9f83923f2553cdb84b9f720809c8f3200121 (patch) | |
tree | 914b130d8e0c6a86fefa10db3462856c982498b9 | |
parent | Remove unsigned comparison < 0. (diff) | |
download | wireguard-openbsd-d8db9f83923f2553cdb84b9f720809c8f3200121.tar.xz wireguard-openbsd-d8db9f83923f2553cdb84b9f720809c8f3200121.zip |
Remove erroneous warnings -- we do not reject offers just because the
option buffer(s) end badly.
-rw-r--r-- | sbin/dhclient/options.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/dhclient/options.c b/sbin/dhclient/options.c index fbc9fbba3d8..f5f608b4c61 100644 --- a/sbin/dhclient/options.c +++ b/sbin/dhclient/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.54 2013/07/06 03:03:23 krw Exp $ */ +/* $OpenBSD: options.c,v 1.55 2013/07/07 00:04:58 krw Exp $ */ /* DHCP options parsing and reassembly. */ @@ -76,13 +76,11 @@ parse_option_buffer(struct option_data *options, unsigned char *buffer, } else { warning("option %s (%d) larger than buffer.", dhcp_options[code].name, len); - warning("rejecting bogus offer."); return (0); } } else { warning("option %s has no length field.", dhcp_options[code].name); - warning("rejecting bogus offer."); return (0); } |