aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/patches/204-udhcpc_no_msg_dontroute.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/busybox/patches/204-udhcpc_no_msg_dontroute.patch')
-rw-r--r--package/utils/busybox/patches/204-udhcpc_no_msg_dontroute.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/utils/busybox/patches/204-udhcpc_no_msg_dontroute.patch b/package/utils/busybox/patches/204-udhcpc_no_msg_dontroute.patch
new file mode 100644
index 0000000000..e70c412d3a
--- /dev/null
+++ b/package/utils/busybox/patches/204-udhcpc_no_msg_dontroute.patch
@@ -0,0 +1,11 @@
+--- a/networking/udhcp/dhcpc.c
++++ b/networking/udhcp/dhcpc.c
+@@ -700,7 +700,7 @@
+ return udhcp_send_kernel_packet(packet,
+ ciaddr, CLIENT_PORT,
+ server, SERVER_PORT,
+- /*send_flags: "to hosts only on directly connected networks" */ MSG_DONTROUTE
++ 0 /*Was MSG_DONTROUTE here. It prevented unicast renewal requests to server in different subnet*/
+ );
+ }
+ return raw_bcast_from_client_config_ifindex(packet, ciaddr);