[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] udhcpd, leased ip's
From: "Bas M" <bas__m () hotmail ! com>
Date: 2002-07-24 5:14:02
[Download RAW message or body]
Michael,
The lease file is written out as an binary file.
You should alter the write_leases() function in files.c to write out the
ip-addresses in string or number format. Beware that the function
read_leases() expects the lease file to be in binary format.
Regards,
Bas.
>-----Original Message-----
>From: Michael Hauser [mailto:hauser@decomsys.com]
>Sent: Tuesday, July 23, 2002 4:18 PM
>To: Busybox Mailing List
>Subject: [BusyBox] udhcpd, leased ip's
>Importance: High
>
>
>Hi @ all !
>
>I've got a question:
>
>How can I get the leased IP's from the deamon ?
>I have to know which IP's are already leased from the deamon for cllients
>There is the udhcpd.leases and i set the "auto_time"-variable which is
>responsible for the frequence of writing the "udhcpd.leases" but my lease
>file is always empty.
>Does anyone of you have an idea what i have to do to get the leased IP's in
>a kind of string or integer into a file ? The best solution would be to get
>the IP's in the same way i get the PID of the deamon (udhcpd.pid)
>
>Best regards !
>--
>Michael Hauser
>mailto:hauser@decomsys.com
>_______________________________________________
>busybox mailing list
>busybox@busybox.net
>http://codepoet.org/mailman/listinfo/busybox
>
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic