freebsd-dev/sbin/dhclient
Rob Norris 461ccb55d5 dhclient: add ability to ignore options in offers
A machine might exist on multiple networks, all of which offer, say, default
routes or name servers. There's no easy way to indicate in the config
that those options are only valid for a single interface.

Now, we can write:

    interface "lan0" {
      request routers;
      require routers;
    }
    interface "lan1" {
      ignore routers;
    }

And only take action on default routes offered on lan0.

Tested by:	Jose Luis Duran <jlduran at gmail dot com>
MFC after:	2 months
Reviewed by:	allanjude, imp
Sponsored by:	Zenith Electronics LLC
Sponsored by:	Klara, Inc.
Pull Request:	#693
2023-04-10 23:13:18 +00:00
..
tests dhclient: fix pcp:pcp cleanup failure 2022-06-17 09:10:52 +02:00
alloc.c
bpf.c dhclient: support VID 0 (no vlan) decapsulation 2022-02-14 10:06:47 -05:00
clparse.c dhclient: add ability to ignore options in offers 2023-04-10 23:13:18 +00:00
conflex.c dhclient: add ability to ignore options in offers 2023-04-10 23:13:18 +00:00
convert.c
dhclient-script dhclient: do not add 0.0.0.0 interface alias. 2023-03-06 15:08:09 +00:00
dhclient-script.8
dhclient.8
dhclient.c dhclient: add ability to ignore options in offers 2023-04-10 23:13:18 +00:00
dhclient.conf
dhclient.conf.5 dhclient: add ability to ignore options in offers 2023-04-10 23:13:18 +00:00
dhclient.leases.5 dhclient(8): Bugfixes for some issues reported by mandoc 2020-10-03 18:42:15 +00:00
dhcp-options.5 dhclient(8): Bugfixes for some issues reported by mandoc 2020-10-03 18:42:15 +00:00
dhcp.h dhclient: support option 114, default-url ascii 2019-11-22 20:22:16 +00:00
dhcpd.h dhclient: add ability to ignore options in offers 2023-04-10 23:13:18 +00:00
dhctoken.h dhclient: add ability to ignore options in offers 2023-04-10 23:13:18 +00:00
dispatch.c dhclient: do not add 0.0.0.0 interface alias. 2023-03-06 15:08:09 +00:00
errwarn.c
hash.c
inet.c
Makefile pkgbase: Put dhclient in its own package 2022-10-26 19:46:24 +02:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
options.c dhclient: improve error handling parsing option 119 2020-08-31 15:55:29 +00:00
packet.c dhclient: support VID 0 (no vlan) decapsulation 2022-02-14 10:06:47 -05:00
parse.c
privsep.c
privsep.h
tables.c dhclient: support option 114, default-url ascii 2019-11-22 20:22:16 +00:00
tree.c
tree.h