CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2019/03/20 14:10:00
Modified files: sbin/dhclient : clparse.c dhclient.c dhclient.conf.5 dhcpd.h options.c Log message: 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().