X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Futils%2Fbusybox%2Fpatches%2F204-udhcpc_src_ip_rebind.patch;fp=package%2Futils%2Fbusybox%2Fpatches%2F204-udhcpc_src_ip_rebind.patch;h=b6d8b6f1a9708183b1f6db0e4937e27c965fa8cc;hp=6da568a91449c06ef4dd20da5a6b873df3f29df4;hb=0c2ddb10de431f7427a9dd050f0e97f57a78190b;hpb=8bafb2b810f87ddd37f02232725f186b17a86994 diff --git a/package/utils/busybox/patches/204-udhcpc_src_ip_rebind.patch b/package/utils/busybox/patches/204-udhcpc_src_ip_rebind.patch index 6da568a914..b6d8b6f1a9 100644 --- a/package/utils/busybox/patches/204-udhcpc_src_ip_rebind.patch +++ b/package/utils/busybox/patches/204-udhcpc_src_ip_rebind.patch @@ -1,8 +1,6 @@ -Index: busybox-1.22.1/networking/udhcp/dhcpc.c -=================================================================== ---- busybox-1.22.1.orig/networking/udhcp/dhcpc.c -+++ busybox-1.22.1/networking/udhcp/dhcpc.c -@@ -659,10 +659,10 @@ static void add_client_options(struct dh +--- a/networking/udhcp/dhcpc.c ++++ b/networking/udhcp/dhcpc.c +@@ -663,10 +663,10 @@ static void add_client_options(struct dh * client reverts to using the IP broadcast address. */ @@ -15,7 +13,7 @@ Index: busybox-1.22.1/networking/udhcp/dhcpc.c /*dst*/ INADDR_BROADCAST, SERVER_PORT, MAC_BCAST_ADDR, client_config.ifindex); } -@@ -673,7 +673,7 @@ static int bcast_or_ucast(struct dhcp_pa +@@ -677,7 +677,7 @@ static int bcast_or_ucast(struct dhcp_pa return udhcp_send_kernel_packet(packet, ciaddr, CLIENT_PORT, server, SERVER_PORT); @@ -24,7 +22,7 @@ Index: busybox-1.22.1/networking/udhcp/dhcpc.c } /* Broadcast a DHCP discover packet to the network, with an optionally requested IP */ -@@ -701,7 +701,7 @@ static NOINLINE int send_discover(uint32 +@@ -705,7 +705,7 @@ static NOINLINE int send_discover(uint32 if (msgs++ < 3) bb_info_msg("Sending discover..."); @@ -33,7 +31,7 @@ Index: busybox-1.22.1/networking/udhcp/dhcpc.c } /* Broadcast a DHCP request message */ -@@ -745,7 +745,7 @@ static NOINLINE int send_select(uint32_t +@@ -749,7 +749,7 @@ static NOINLINE int send_select(uint32_t addr.s_addr = requested; bb_info_msg("Sending select for %s...", inet_ntoa(addr)); @@ -42,7 +40,7 @@ Index: busybox-1.22.1/networking/udhcp/dhcpc.c } /* Unicast or broadcast a DHCP renew message */ -@@ -813,7 +813,7 @@ static NOINLINE int send_decline(/*uint3 +@@ -817,7 +817,7 @@ static NOINLINE int send_decline(/*uint3 udhcp_add_simple_option(&packet, DHCP_SERVER_ID, server); bb_info_msg("Sending decline...");