diff options
author | Steve Price <steve@FreeBSD.org> | 2000-08-08 03:03:07 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-08-08 03:03:07 +0000 |
commit | 9d87ac693840c240b6e5917071735d192abaab8d (patch) | |
tree | fb8bf81baebcfef868d2665754c2d61d486b4082 /net/isc-dhcp30-server | |
parent | Add 'LDFLAGS+=-lio' on the Alpha for the inb/outb implementations. (diff) |
Make buflen a size_t instead of unsigned int so builds quit falling over
on the Alpha.
Notes
Notes:
svn path=/head/; revision=31403
Diffstat (limited to 'net/isc-dhcp30-server')
-rw-r--r-- | net/isc-dhcp30-server/files/patch-dhclient.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/net/isc-dhcp30-server/files/patch-dhclient.c b/net/isc-dhcp30-server/files/patch-dhclient.c index b4b92f81c726..c9f593dfa42f 100644 --- a/net/isc-dhcp30-server/files/patch-dhclient.c +++ b/net/isc-dhcp30-server/files/patch-dhclient.c @@ -1,5 +1,5 @@ ---- client/dhclient.c.orig Wed May 10 02:34:28 2000 -+++ client/dhclient.c Wed May 10 02:34:49 2000 +--- client/dhclient.c.orig Wed Jul 19 23:13:11 2000 ++++ client/dhclient.c Sun Aug 6 20:43:14 2000 @@ -64,6 +64,7 @@ int log_priority; int no_daemon; @@ -26,7 +26,7 @@ "[-s server]"); log_error (" [-lf lease-file] [-pf pid-file]%s", "[-cf config-file] [interface]"); -@@ -1232,6 +1235,10 @@ +@@ -1239,6 +1242,10 @@ /* No leases were available, or what was available didn't work, so tell the shell script that we failed to allocate an address, and try again later. */ @@ -37,3 +37,12 @@ log_info ("No working leases in persistent database - sleeping.\n"); script_init (client, "FAIL", (struct string_list *)0); if (client -> alias) +@@ -2157,7 +2164,7 @@ + + int dhcp_option_ev_name (buf, buflen, option) + char *buf; +- unsigned buflen; ++ size_t buflen; + struct option *option; + { + int i; |