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
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]>
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
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
/*$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
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
6 matches
Mail list logo