aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/243-udhcpc_changed_ifindex.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-12-07 16:56:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-12-07 16:56:04 +0000
commit6b306ba7b836261b2abcee6977ff27f909338282 (patch)
tree49c8e4e216c8e7316f5f746c0db3e58841345acf /package/busybox/patches/243-udhcpc_changed_ifindex.patch
parenta653c7602e243dcc4e89f467d4c97576ddd7a77f (diff)
downloadupstream-6b306ba7b836261b2abcee6977ff27f909338282.tar.gz
upstream-6b306ba7b836261b2abcee6977ff27f909338282.tar.bz2
upstream-6b306ba7b836261b2abcee6977ff27f909338282.zip
update busybox to 1.15.2 (#5926)
SVN-Revision: 18684
Diffstat (limited to 'package/busybox/patches/243-udhcpc_changed_ifindex.patch')
-rw-r--r--package/busybox/patches/243-udhcpc_changed_ifindex.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/busybox/patches/243-udhcpc_changed_ifindex.patch b/package/busybox/patches/243-udhcpc_changed_ifindex.patch
index f0ab34d26a..c5bf9123db 100644
--- a/package/busybox/patches/243-udhcpc_changed_ifindex.patch
+++ b/package/busybox/patches/243-udhcpc_changed_ifindex.patch
@@ -1,6 +1,6 @@
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
-@@ -327,6 +327,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
+@@ -342,6 +342,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
/* silence "uninitialized!" warning */
unsigned timestamp_before_wait = timestamp_before_wait;
@@ -8,7 +8,7 @@
+ * member interfaces were added/removed or if the status of the
+ * bridge changed).
+ * Workaround: refresh it here before processing the next packet */
-+ udhcp_read_interface(client_config.interface, &client_config.ifindex, NULL, client_config.arp);
++ udhcp_read_interface(client_config.interface, &client_config.ifindex, NULL, client_config.client_mac);
+
//bb_error_msg("sockfd:%d, listen_mode:%d", sockfd, listen_mode);