diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-10-08 08:49:26 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-10-08 08:49:26 +0000 |
commit | 567afa14553e9e80716e3f238530afdcf0a22229 (patch) | |
tree | c64a5328d250449c9a4e3964d59a657543e06440 /examples | |
parent | 0ab7696c76a37f479c1a86c6319ca2a4c36b351c (diff) | |
download | busybox-w32-567afa14553e9e80716e3f238530afdcf0a22229.tar.gz busybox-w32-567afa14553e9e80716e3f238530afdcf0a22229.tar.bz2 busybox-w32-567afa14553e9e80716e3f238530afdcf0a22229.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@9329 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'examples')
-rw-r--r-- | examples/udhcp/udhcpd.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/udhcp/udhcpd.conf b/examples/udhcp/udhcpd.conf index 00105b3e5..f91fddebf 100644 --- a/examples/udhcp/udhcpd.conf +++ b/examples/udhcp/udhcpd.conf | |||
@@ -114,3 +114,10 @@ option lease 864000 # 10 days of seconds | |||
114 | #opt ntpsrv | 114 | #opt ntpsrv |
115 | #opt tftp | 115 | #opt tftp |
116 | #opt bootfile | 116 | #opt bootfile |
117 | |||
118 | |||
119 | # Static leases map | ||
120 | #static_lease 00:60:08:11:CE:4E 192.168.0.54 | ||
121 | #static_lease 00:60:08:11:CE:3E 192.168.0.44 | ||
122 | |||
123 | |||