aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp40-server/files/patch-common::parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/isc-dhcp40-server/files/patch-common::parse.c')
-rw-r--r--net/isc-dhcp40-server/files/patch-common::parse.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/net/isc-dhcp40-server/files/patch-common::parse.c b/net/isc-dhcp40-server/files/patch-common::parse.c
deleted file mode 100644
index 637d69e7f41b..000000000000
--- a/net/isc-dhcp40-server/files/patch-common::parse.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- common/parse.c.orig 2 Sep 2003 11:01:23 -0000
-+++ common/parse.c 22 Feb 2004 10:44:52 -0000
-@@ -414,6 +414,7 @@
- {
- const char *val;
- enum dhcp_token token;
-+ int32_t num;
-
- token = next_token (&val, (unsigned *)0, cfile);
- if (token != NUMBER) {
-@@ -421,9 +422,9 @@
- skip_to_semi (cfile);
- return;
- }
-- convert_num (cfile, (unsigned char *)timep, val, 10, 32);
-+ convert_num (cfile, (unsigned char *)&num, val, 10, 32);
- /* Unswap the number - convert_num returns stuff in NBO. */
-- *timep = ntohl (*timep); /* XXX */
-+ *timep = ntohl (num);
-
- parse_semi (cfile);
- }