summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 03:03:07 +0000
committersteve <steve@FreeBSD.org>2000-08-08 03:03:07 +0000
commita38af2d3807927b15982f0e4058ac51088650260 (patch)
tree55902faecca1284225d3b7a6537e3eea9b1bf0d6 /net
parent04c529b2514abeea8891e708f7ecd84d40bf835c (diff)
downloadFreeBSD-ports-a38af2d3807927b15982f0e4058ac51088650260.zip
FreeBSD-ports-a38af2d3807927b15982f0e4058ac51088650260.tar.gz
Make buflen a size_t instead of unsigned int so builds quit falling over
on the Alpha.
Diffstat (limited to 'net')
-rw-r--r--net/isc-dhcp3-server/files/patch-dhclient.c15
-rw-r--r--net/isc-dhcp3/files/patch-dhclient.c15
-rw-r--r--net/isc-dhcp30-server/files/patch-dhclient.c15
-rw-r--r--net/isc-dhcp31-server/files/patch-dhclient.c15
-rw-r--r--net/isc-dhcp40-server/files/patch-dhclient.c15
5 files changed, 60 insertions, 15 deletions
diff --git a/net/isc-dhcp3-server/files/patch-dhclient.c b/net/isc-dhcp3-server/files/patch-dhclient.c
index b4b92f8..c9f593d 100644
--- a/net/isc-dhcp3-server/files/patch-dhclient.c
+++ b/net/isc-dhcp3-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;
diff --git a/net/isc-dhcp3/files/patch-dhclient.c b/net/isc-dhcp3/files/patch-dhclient.c
index b4b92f8..c9f593d 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;
diff --git a/net/isc-dhcp30-server/files/patch-dhclient.c b/net/isc-dhcp30-server/files/patch-dhclient.c
index b4b92f8..c9f593d 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;
diff --git a/net/isc-dhcp31-server/files/patch-dhclient.c b/net/isc-dhcp31-server/files/patch-dhclient.c
index b4b92f8..c9f593d 100644
--- a/net/isc-dhcp31-server/files/patch-dhclient.c
+++ b/net/isc-dhcp31-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;
diff --git a/net/isc-dhcp40-server/files/patch-dhclient.c b/net/isc-dhcp40-server/files/patch-dhclient.c
index b4b92f8..c9f593d 100644
--- a/net/isc-dhcp40-server/files/patch-dhclient.c
+++ b/net/isc-dhcp40-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;
OpenPOWER on IntegriCloud