de828cbdf9
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 |
||
---|---|---|
.. | ||
bin | ||
dist | ||
include | ||
lib | ||
share | ||
dhcp2netbsd | ||
Makefile | ||
Makefile.inc |