aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/udhcpc-discover-retries.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox/udhcpc-discover-retries.patch')
-rw-r--r--main/busybox/udhcpc-discover-retries.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/busybox/udhcpc-discover-retries.patch b/main/busybox/udhcpc-discover-retries.patch
new file mode 100644
index 0000000000..e4a631c279
--- /dev/null
+++ b/main/busybox/udhcpc-discover-retries.patch
@@ -0,0 +1,13 @@
+Some slower nics needs more attempts to get a lease
+
+--- ./networking/udhcp/dhcpc.c.orig
++++ ./networking/udhcp/dhcpc.c
+@@ -1238,7 +1238,7 @@
+ llist_t *list_x = NULL;
+ int tryagain_timeout = 20;
+ int discover_timeout = 3;
+- int discover_retries = 3;
++ int discover_retries = 5;
+ uint32_t server_addr = server_addr; /* for compiler */
+ uint32_t requested_ip = 0;
+ uint32_t xid = xid; /* for compiler */