Hi all,
I am using dhcpd on openBSD.
I wanted to make a log file of my own from which enteries will never vanish.
Though I can use dhcpd.leases and parse it to get the values but i wanted to
it from the sourse itself.

What i have done so far ->

I have made changes in db.c
1. in function db_startup()
2.write_lease(struct lease *lease)

I am attaching db.c file with changes with it.
wherever u find "FILE *abc or  int pqr".i have added those lines
it is compiling allright but is not writing into the file.

Plz Help some one..........................
Rahul

[demime 1.01d removed an attachment of type text/x-csrc which had a name of 
db.c]

Reply via email to