Re: Dhcpd Bizarre!!!!!!!!!!!!!!!!

2006-07-17 Thread Nick Guenther
On 7/17/06, Rahul Sharma <[EMAIL PROTECTED]> wrote: On 7/17/06, turcu septimiu <[EMAIL PROTECTED]> wrote: > > > --- Rahul Sharma <[EMAIL PROTECTED]> wrote: > > > Hi Nick, > > Thank for your replies. > > But in that case I have to search the dhcpd enteries > > and then parse the > > /var/log/ dae

Re: Dhcpd Bizarre!!!!!!!!!!!!!!!!

2006-07-17 Thread Rahul Sharma
Hi trucu, ya that is the main problem. Now finally i got it what i want. Thanks to all Rahul On 7/17/06, turcu septimiu <[EMAIL PROTECTED]> wrote: > > It seems to me that you don't flush the file, nor you > close it. > This might be causing loss of data. > > > --- Rahul Sharma <[EMAIL PROTECTED]>

Re: Dhcpd Bizarre!!!!!!!!!!!!!!!!

2006-07-16 Thread Rahul Sharma
Hi Nick, Thank for your replies. But in that case I have to search the dhcpd enteries and then parse the /var/log/ daemon. But I Just want to create another file with the format i like. Plz anybody help!!! Thanks in advance Rahul On 7/14/06, Nick Guenther <[EMAIL PROTECTED]> wrote: > > On 7/1

Re: Dhcpd Bizarre!!!!!!!!!!!!!!!!

2006-07-13 Thread Nick Guenther
On 7/13/06, Rahul Sharma <[EMAIL PROTECTED]> wrote: /*$OpenBSD: db.c,v 1.10 2004/09/16 18:35:42 deraadt Exp $*/ /* * Persistent database management routines for DHCPD. */ /* * Copyright (c) 1995, 1996 The Internet Software Consortium. * All rights reserved. * * Redistribution and

Re: Dhcpd Bizarre!!!!!!!!!!!!!!!!

2006-07-13 Thread Rahul Sharma
/*$OpenBSD: db.c,v 1.10 2004/09/16 18:35:42 deraadt Exp $*/ /* * Persistent database management routines for DHCPD. */ /* * Copyright (c) 1995, 1996 The Internet Software Consortium. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * mod

Dhcpd Bizarre!!!!!!!!!!!!!!!!

2006-07-12 Thread Rahul Sharma
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_startu