An interesting piece of code in Discover_interfaces

Ted Lemon Ted.Lemon at nominum.com
Thu Jun 20 22:04:44 UTC 2002


> I think this never comes up as the INTERFACE_RUNNING flag is never set.

It's set in the client, but discover_interfaces isn't normally called after 
that.   I think your proposed fixes are correct, and I marginally prefer 
the one without the goto.   Could you send a patch to dhcp-bugs at isc.org?  
  :')

Oh, the purpose of the INTERFACE_RUNNING flag is so that you can call 
discover_interfaces after the DHCP client (or, maybe, the server) is 
already running when a new interface is attached.

Thanks!



More information about the dhcp-hackers mailing list