busybox: refresh busybox patches
[openwrt-10.03/.git] / package / busybox / patches / 243-udhcpc_changed_ifindex.patch
index b30460423236c46f90b7beba2b109a99ce869d8a..50987665e67348f10efdf3179a1fc3ac40b3c369 100644 (file)
@@ -1,10 +1,8 @@
-Index: busybox-1.7.2/networking/udhcp/dhcpc.c
-===================================================================
---- busybox-1.7.2.orig/networking/udhcp/dhcpc.c        2007-10-04 14:36:41.521873204 +0200
-+++ busybox-1.7.2/networking/udhcp/dhcpc.c     2007-10-04 14:38:28.231954268 +0200
-@@ -309,6 +309,12 @@
-  jump_in:
-               tv.tv_usec = 0;
+--- a/networking/udhcp/dhcpc.c
++++ b/networking/udhcp/dhcpc.c
+@@ -319,6 +319,12 @@ int udhcpc_main(int argc ATTRIBUTE_UNUSE
+       for (;;) {
+               unsigned timestamp_before_wait;
  
 +              /* When running on a bridge, the ifindex may have changed (e.g. if
 +               * member interfaces were added/removed or if the status of the