NetBSD/external/bsd/dhcp
manu de828cbdf9 Make DHCP programs compatible with crunchgen(1)
DHCP programs are incompatible with crunchgen(1) so far, because
libdhcp uses callbacks with the same function names for dhclient,
dhcrelay, dhcpd, and omshell. As a result, it is impossible to
link correctly in a single binary.

The offending symbols are classify, check_collection, dhcp, dhcpv6,
bootp, find_class, parse_allow_deny, and dhcp_set_control_state, and
the local_port and remote_port variables.

This change make each program register an array of callbacks at
main() start. libdhcp then uses callbacks through registered
function and variable pointers, and DHCP programs can now go
trough crunchgen(1).

Submitted upstream as ISC-Bugs #45330 with a patch against latest ISC git.
The soon to be released 4.3.6 will not include the change, but it is
likely to be included in 4.3.7
2017-06-28 02:46:30 +00:00
..
bin Do not attempt to pass -llinfo to route. 2016-11-27 19:04:40 +00:00
dist Make DHCP programs compatible with crunchgen(1) 2017-06-28 02:46:30 +00:00
include merge conflicts 2016-01-10 20:10:44 +00:00
lib merge conflicts 2016-01-10 20:10:44 +00:00
share
Makefile
Makefile.inc Remove MKCRYPTO option. 2017-05-21 15:28:36 +00:00
dhcp2netbsd