X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fbusybox%2Fpatches%2F243-udhcpc_changed_ifindex.patch;h=c5bf9123db33d051f1967f5a0c034a66457a6b38;hb=HEAD;hp=f0ab34d26ae6121621912381e9c898fdfcc9e598;hpb=9dfc3e34ee54d00b68cc4cbb5cddcfa588fd07fb;p=openwrt-10.03%2F.git diff --git a/package/busybox/patches/243-udhcpc_changed_ifindex.patch b/package/busybox/patches/243-udhcpc_changed_ifindex.patch index f0ab34d26..c5bf9123d 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);