aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-10-08 08:49:26 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-10-08 08:49:26 +0000
commit567afa14553e9e80716e3f238530afdcf0a22229 (patch)
treec64a5328d250449c9a4e3964d59a657543e06440 /examples
parent0ab7696c76a37f479c1a86c6319ca2a4c36b351c (diff)
downloadbusybox-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.conf7
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