don't call deconfig in udhcpc when entering the renew phase
authorFelix Fietkau <nbd@openwrt.org>
Sun, 6 Jan 2008 19:26:33 +0000 (19:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 6 Jan 2008 19:26:33 +0000 (19:26 +0000)
SVN-Revision: 10136

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);