dhcpctl_object_remove for host object

Naveen Kumar g_naveen_k at yahoo.com
Sat Mar 10 13:23:05 UTC 2007


My code creates a host object with ip-addr, dhcp-client-id values and adds it to the dhcp server entry using dhcpctl_open_object(... | DHCPCTL_CREATE.. )
The entry shows up in /var/lib/dhcp/dhcpd.leases. However when I try to delete the object using dhcpctl_object_remove and wait using dhcpctl_wait_for_completion I get an error saying object not found. 
How can I delete the host entry using dhcpctl ? I have searched the mailing list archives but couldn't find a conclusive answer for this. 


Thanks
Naveen




 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/


More information about the dhcp-hackers mailing list