OpenBSD/src kv1GXGC — sbin/dhclient options.c dhclient.c
Use same idiom for pretty_print_domain_search() and pretty_print_classless_routes(), making both of them local to options.c. Avoids a double pretty print of DHO_DOMAIN_SEARCH, eliminates an unneeded 1024 byte static array. Shrinks size of upcoming diff to implement parsing of domain search option in leases and dhclient.conf.
Version | Delta | File | |
---|---|---|---|
1.114 | +18 | -10 | sbin/dhclient/options.c |
1.627 | +10 | -11 | sbin/dhclient/dhclient.c |
1.274 | +1 | -4 | sbin/dhclient/dhcpd.h |
+29 | -25 | 3 files |