Package: udhcpd
Version: 0.9.8cvs20050303-2
Severity: normal
--- Please enter the report below this line. ---
Sample:
1. Set lease range to "start 192.168.0.101 end 192.168.0.110."
2. Start udhcpd.
3. A dhcp client will get 192.168.0.101 from udhcpd.
4. Wait until /var/lib/misc/udhcpd.leases is updated.
5. Change lease range to "start 192.168.1.100 end 192.168.1.110."
6. Restart udpchd.
7. The dhcp client which got 192.168.0.101 still gets 192.168.0.101 from
udhcpd.
Using the function read_leases() in file.c,
udhcpd checks udhcpd.leases to ignore obsolete IP addresses
like this:
if (lease.yiaddr >= server_config.start && lease.yiaddr <=
server_config.end) {
.
This check does not work on little endian machines such as X86,
because lease.yiaddr and server_config.start are network byte order (big
endian) uint32_t.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.22-14-generic
Debian Release: lenny/sid
500 gutsy-updates jp.archive.ubuntu.com
500 gutsy-security security.ubuntu.com
500 gutsy jp.archive.ubuntu.com
--- Package information. ---
Depends (Version) | Installed
=========================-+-=============
libc6 (>= 2.3.4-1) | 2.6.1-1ubuntu10
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]