diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-06-16 14:12:13 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-06-16 14:12:13 +0000 |
commit | 1ed754e8da1eda24afc12ff17882b88d2c8bb066 (patch) | |
tree | 3a1bf27367033cc1367befca3946f1205766e3ca /sbin/dhclient/clparse.c | |
parent | c9c3e4a7877edfc1cca37831ecc11017565814c3 (diff) |
Nuke 'is_bootp' field and just use a #define to check if the lease
has DHO_DHCP_MESSAGE_TYPE info.
Diffstat (limited to 'sbin/dhclient/clparse.c')
-rw-r--r-- | sbin/dhclient/clparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c index 4a798b69422..b061b6cfab4 100644 --- a/sbin/dhclient/clparse.c +++ b/sbin/dhclient/clparse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clparse.c,v 1.112 2017/06/14 16:52:35 krw Exp $ */ +/* $OpenBSD: clparse.c,v 1.113 2017/06/16 14:12:12 krw Exp $ */ /* Parser for dhclient config and lease files. */ @@ -560,7 +560,7 @@ parse_client_lease_declaration(FILE *cfile, struct client_lease *lease, switch (token) { case TOK_BOOTP: - lease->is_bootp = 1; + /* 'bootp' is just a comment. See BOOTP_LEASE(). */ break; case TOK_INTERFACE: token = next_token(&val, cfile); |