dhclient - Change config 'ignore' directive behaviour.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sat, 9 Aug 2014 16:24:54 +0000 (18:24 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sat, 9 Aug 2014 16:30:02 +0000 (18:30 +0200)
commitdafcba8560ef1964310caf10c2e6e9edfbff0d12
tree6beb186baaa517d1f12feedf508cdc0dd7b8539b
parent77618c32cedc286db4905f002a268e3b848c30d7
dhclient - Change config 'ignore' directive behaviour.

- 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.

Taken-from: OpenBSD
sbin/dhclient/clparse.c
sbin/dhclient/dhclient.c
sbin/dhclient/dhclient.conf.5
sbin/dhclient/dhcpd.h
sbin/dhclient/options.c