diff options
author | steve <steve@FreeBSD.org> | 2000-08-08 11:03:07 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-08-08 11:03:07 +0800 |
commit | a38af2d3807927b15982f0e4058ac51088650260 (patch) | |
tree | 55902faecca1284225d3b7a6537e3eea9b1bf0d6 /net/isc-dhcp3 | |
parent | 04c529b2514abeea8891e708f7ecd84d40bf835c (diff) | |
download | freebsd-ports-gnome-a38af2d3807927b15982f0e4058ac51088650260.tar.gz freebsd-ports-gnome-a38af2d3807927b15982f0e4058ac51088650260.tar.zst freebsd-ports-gnome-a38af2d3807927b15982f0e4058ac51088650260.zip |
Make buflen a size_t instead of unsigned int so builds quit falling over
on the Alpha.
Diffstat (limited to 'net/isc-dhcp3')
-rw-r--r-- | net/isc-dhcp3/files/patch-dhclient.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/net/isc-dhcp3/files/patch-dhclient.c b/net/isc-dhcp3/files/patch-dhclient.c index b4b92f81c726..c9f593dfa42f 100644 --- a/net/isc-dhcp3/files/patch-dhclient.c +++ b/net/isc-dhcp3/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; |