]> git.ipfire.org Git - thirdparty/dhcp.git/commit
Make dispatch() run through a list of protocol structures to select against, rather...
authorTed Lemon <source@isc.org>
Thu, 6 Mar 1997 06:52:30 +0000 (06:52 +0000)
committerTed Lemon <source@isc.org>
Thu, 6 Mar 1997 06:52:30 +0000 (06:52 +0000)
commite4749e754c63b7828130b9c3bc5d95736439feb7
tree8578e3828eb2c4fa8ff6d3e2692775b49531c95f
parentdd5804ad620a2ca0b8eeb2eae91bfd335bbf6398
Make dispatch() run through a list of protocol structures to select against, rather than running through the interface list and then special casing other stuff.   This simplifies things substantially.   add_protocol() function allows new protocols to be selected against.   Timeouts now pass a void * instead of a struct interface_info *.   Move do_packet into options.c so that options.c isn't pulled into dhcrelay.
common/dispatch.c