diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-10-27 23:08:54 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-10-27 23:08:54 +0000 |
commit | ab511a5cc56acdc5f723411098bb1ead3075d5e0 (patch) | |
tree | f2b7a926be0d01090db6ecefa3a25802daf72897 /sbin/dhclient/dhcpd.h | |
parent | a4f754ad67aa4517d148b7f5a0a2a60e6ec6243e (diff) |
Change dhclient.conf directive 'ignore' to take a list of option names
rather than list of option declarations. e.g. 'ignore routers;'
instead of 'ignore routers 1.2.3.4;' The value in the declaration
was being ignored anyway.
While there clean up the related code a bit.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index d0e7cabce62..3e3450a3202 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.81 2012/09/18 09:34:09 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.82 2012/10/27 23:08:53 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -208,7 +208,7 @@ extern struct client_config *config; /* options.c */ int cons_options(struct option_data *); -char *pretty_print_option(unsigned int, unsigned char *, int, int, int); +char *pretty_print_option(unsigned int, struct option_data *, int); void do_packet(int, unsigned int, struct iaddr, struct hardware *); /* errwarn.c */ |