OpenBSD/src RCZf0sJ — sbin/dhclient dhclient.c options.c
Do not accept dhclient.conf(5) "prepend" or "append" statements when the option data cannot be prepended or appended to. Instead, treat "prepend" as "supersede" and "append" as "default". This preserves the safe aspects of current behaviour. Issue a parsing warning when appropriate to encourage people to fix their configuration files. Eliminate egregious repeated code by abstracting merge_option_data().
Version | Delta | File | |
---|---|---|---|
1.629 | +11 | -54 | sbin/dhclient/dhclient.c |
1.115 | +51 | -1 | sbin/dhclient/options.c |
1.46 | +14 | -2 | sbin/dhclient/dhclient.conf.5 |
1.184 | +10 | -4 | sbin/dhclient/clparse.c |
1.275 | +4 | -1 | sbin/dhclient/dhcpd.h |
+90 | -62 | 5 files |