don't call deconfig in udhcpc when entering the renew phase
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Jan 2008 19:26:33 +0000 (19:26 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Jan 2008 19:26:33 +0000 (19:26 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10136 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/busybox/patches/524-udhcpc_renew.patch [new file with mode: 0644]

diff --git a/package/busybox/patches/524-udhcpc_renew.patch b/package/busybox/patches/524-udhcpc_renew.patch
new file mode 100644 (file)
index 0000000..07611a5
--- /dev/null
@@ -0,0 +1,12 @@
+Index: busybox-1.8.2/networking/udhcp/dhcpc.c
+===================================================================
+--- busybox-1.8.2.orig/networking/udhcp/dhcpc.c        2008-01-03 05:00:31.506419917 +0100
++++ busybox-1.8.2/networking/udhcp/dhcpc.c     2008-01-03 05:00:44.311149618 +0100
+@@ -65,7 +65,6 @@
+               state = RENEW_REQUESTED;
+               break;
+       case RENEW_REQUESTED: /* impatient are we? fine, square 1 */
+-              udhcp_run_script(NULL, "deconfig");
+       case REQUESTING:
+       case RELEASED:
+               change_mode(LISTEN_RAW);