diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-01 14:29:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-01 14:29:47 +0000 |
commit | 40f54f7ffe4463a66b9060c1dc39fb4c41823f98 (patch) | |
tree | c0f20daa5468707e91addf1c2af6af63fba38723 /main/busybox/udhcpc-discover-retries.patch | |
parent | 12fe9934d91ed9697c6aff5b9dc443f2e1fb8990 (diff) | |
download | aports-40f54f7ffe4463a66b9060c1dc39fb4c41823f98.tar.bz2 aports-40f54f7ffe4463a66b9060c1dc39fb4c41823f98.tar.xz |
main/busybox: increase udhcpc's default discover retries
ref #3105
Diffstat (limited to 'main/busybox/udhcpc-discover-retries.patch')
-rw-r--r-- | main/busybox/udhcpc-discover-retries.patch | 13 |
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 */ |