aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/0003-udhcpc-set-default-discover-retries-to-5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox/0003-udhcpc-set-default-discover-retries-to-5.patch')
-rw-r--r--main/busybox/0003-udhcpc-set-default-discover-retries-to-5.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/busybox/0003-udhcpc-set-default-discover-retries-to-5.patch b/main/busybox/0003-udhcpc-set-default-discover-retries-to-5.patch
index bcbc8bc4e6..89cf6cd187 100644
--- a/main/busybox/0003-udhcpc-set-default-discover-retries-to-5.patch
+++ b/main/busybox/0003-udhcpc-set-default-discover-retries-to-5.patch
@@ -1,7 +1,7 @@
-From 929842100057fd4cb842129bd5adb5bab167ae92 Mon Sep 17 00:00:00 2001
+From 5b9fc802f7f3bb7e1b0c539a3d6101dcca5399e9 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 4 Aug 2016 11:08:35 +0200
-Subject: [PATCH 03/15] udhcpc: set default discover retries to 5
+Subject: [PATCH 03/12] udhcpc: set default discover retries to 5
Some slower nics needs more attempts to get a lease
---
@@ -9,10 +9,10 @@ Some slower nics needs more attempts to get a lease
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
-index fc7b621..e802878 100644
+index 0e236261b..3c36bc39b 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
-@@ -1172,7 +1172,7 @@ static void client_background(void)
+@@ -1189,7 +1189,7 @@ static void client_background(void)
//usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")"
//usage: "\n -p,--pidfile FILE Create pidfile"
//usage: "\n -B,--broadcast Request broadcast replies"
@@ -21,7 +21,7 @@ index fc7b621..e802878 100644
//usage: "\n -T,--timeout SEC Pause between packets (default 3)"
//usage: "\n -A,--tryagain SEC Wait if lease is not obtained (default 20)"
//usage: "\n -n,--now Exit if lease is not obtained"
-@@ -1255,7 +1255,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
+@@ -1272,7 +1272,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
llist_t *list_x = NULL;
int tryagain_timeout = 20;
int discover_timeout = 3;
@@ -31,5 +31,5 @@ index fc7b621..e802878 100644
uint32_t requested_ip = 0;
uint32_t xid = xid; /* for compiler */
--
-2.9.1
+2.11.0