OMAPI API - dhcpctl_set_callback()

alf.carlsson at ams.amv.se alf.carlsson at ams.amv.se
Mon Sep 24 06:31:00 UTC 2007


Hi
I don't know anything about dhcpctl_set_callback(), but if DHCP can't fix it
try this.
If you ar familiar with perl I recomend to use module File::Tail and
Proc::Daemon.
Proc::Daemon make an process running as an deamon, and File::Tail is konfigured
to look at the logging records.
Then you are free to make what you whant with the logging information.
Kind Regards  Alf Carlsson

Werner Otto  (2007-09-18  15:06):
Hi All,
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?

--
Kind Regards
Werner Otto







More information about the dhcp-hackers mailing list