OMAPI API - dhcpctl_set_callback()
dhcp1 at thehobsons.co.uk
Tue Sep 18 15:06:56 UTC 2007
Werner Otto wrote:
>I am looking at the dhcpctl_set_callback() function. I am interested
>in using the callback function, which will include a function of my
>own. What I would like to know, is there a way of being notified
>that a DHCPOFFER is been sent out. I would like to do something like:
>DHCP Server, allocates DHCP LEASE --> triggers the callback_function
>which --> gets the MAC address of the DHCP LEASE, and sends the MAC
>address to another application.
>Is this possible?
Have you looked at the on_commit mechanism ?
More information about the dhcp-users