Eric Andersen
abf58d6ba5
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
2004-10-08 08:49:26 +00:00
Eric Andersen
c7bda1ce65
Remove trailing whitespace. Update copyright to include 2004.
2004-03-15 08:29:22 +00:00
Eric Andersen
ad95373efc
Use standard C99 types
2004-01-30 23:45:53 +00:00
Russ Dill
4e864a36b6
Finish remerging busybox udhcp and udhcp. Some cleanups as well.
2003-12-18 22:25:38 +00:00
Russ Dill
e30495654d
clean up some bad, bad formatting
2003-12-16 22:46:33 +00:00
Eric Andersen
5f46f1c241
remove reference to missing header file which is breaking the build
2003-12-16 12:04:01 +00:00
Russ Dill
8b3845106a
why the complication of a static string rather than a define? gcc isn't dumb
2003-12-16 02:30:53 +00:00
Russ Dill
7becf5987a
when compiled standalone, udhcp needs these headers
2003-12-16 01:42:18 +00:00
Russ Dill
a3170d5aab
whoops
2003-12-16 01:33:38 +00:00
Russ Dill
8f43126934
not sure who made this change, but it certainly mucks things up (note 'fwrite(leases, ...'), adds a bit more code, and some stack overhead. Anywho, this fixes it, and retains the spirit of what the submitter of this change was attempting to acheive (the entire lease is written at once in a struct)
2003-12-16 01:29:40 +00:00
Russ Dill
4a9e34c148
options is a pretty common symbol, bad idea to use as a global in udhcp when compiling into busybox
2003-12-15 22:09:36 +00:00
Glenn L McGrath
24833430bc
Vodz, last_patch_88
2003-06-10 17:22:49 +00:00
Russ Dill
1eb7a17b12
resync with udhcp cvs
2002-12-11 21:12:45 +00:00
Aaron Lehmann
a170e1c858
Change if(x)free(x); to free(x);
2002-11-28 11:27:31 +00:00
Russ Dill
61fb48930f
added full udhcp integration
2002-10-14 21:41:28 +00:00