summaryrefslogtreecommitdiff
path: root/package/dhcp/patches/patch-common_discover_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-02-20 08:48:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-22 14:19:07 +0100
commit4ab779cc89c14df5f0ee3ce06524e821ea89ae4d (patch)
treef101d924af5d6b6c4c3935acb04f9ca5d1fd17cf /package/dhcp/patches/patch-common_discover_c
parentc6f4e7cddb0cfd4b93ea3513c238c9ea01a286da (diff)
dhcp: update to 4.4.3-P1
Diffstat (limited to 'package/dhcp/patches/patch-common_discover_c')
-rw-r--r--package/dhcp/patches/patch-common_discover_c13
1 files changed, 0 insertions, 13 deletions
diff --git a/package/dhcp/patches/patch-common_discover_c b/package/dhcp/patches/patch-common_discover_c
deleted file mode 100644
index 372ca8e1c..000000000
--- a/package/dhcp/patches/patch-common_discover_c
+++ /dev/null
@@ -1,13 +0,0 @@
---- dhcp-4.3.5.orig/common/discover.c 2016-09-27 21:16:50.000000000 +0200
-+++ dhcp-4.3.5/common/discover.c 2016-11-26 07:09:35.000000000 +0100
-@@ -692,8 +692,8 @@ next_iface6(struct iface_info *info, int
- for (i=0; i<16; i++) {
- unsigned char byte;
- static const char hex[] = "0123456789abcdef";
-- byte = ((index(hex, buf[i * 2]) - hex) << 4) |
-- (index(hex, buf[i * 2 + 1]) - hex);
-+ byte = ((strchr(hex, buf[i * 2]) - hex) << 4) |
-+ (strchr(hex, buf[i * 2 + 1]) - hex);
- addr.sin6_addr.s6_addr[i] = byte;
- }
- memcpy(&info->addr, &addr, sizeof(addr));