Wade Berrier writes:
authorEric Andersen <andersen@codepoet.org>
Fri, 8 Oct 2004 08:49:26 +0000 (08:49 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 8 Oct 2004 08:49:26 +0000 (08:49 -0000)
commitabf58d6ba5df9bbe04c4c7008cbbc8c7dc626392
treec64a5328d250449c9a4e3964d59a657543e06440
parent751750e3ee0195eef802a1554e97712285bf8fd7
Wade Berrier writes:

Hello,

Here's a patch for a first attempt at static leases for udhcpd.
Included in the tarball are 2 files (static_leases.c, static_leases.h)
and a patch against the latest cvs.

In the config file you can configure static leases with the following
format:

static_lease 00:60:08:11:CE:4E 192.168.0.54
static_lease 00:60:08:11:CE:3E 192.168.0.44

Comments/suggestions/improvements are welcome.

Wade
examples/udhcp/udhcpd.conf
networking/udhcp/Makefile.in
networking/udhcp/dhcpd.c
networking/udhcp/dhcpd.h
networking/udhcp/files.c
networking/udhcp/leases.c
networking/udhcp/serverpacket.c
networking/udhcp/static_leases.c [new file with mode: 0644]
networking/udhcp/static_leases.h [new file with mode: 0644]