1 --- a/networking/udhcp/dhcpc.c
2 +++ b/networking/udhcp/dhcpc.c
3 @@ -319,6 +319,12 @@ int udhcpc_main(int argc ATTRIBUTE_UNUSE
5 unsigned timestamp_before_wait;
7 + /* When running on a bridge, the ifindex may have changed (e.g. if
8 + * member interfaces were added/removed or if the status of the
10 + * Workaround: refresh it here before processing the next packet */
11 + read_interface(client_config.interface, &client_config.ifindex, NULL, client_config.arp);
13 if (listen_mode != LISTEN_NONE && sockfd < 0) {
14 if (listen_mode == LISTEN_KERNEL)
15 sockfd = listen_socket(/*INADDR_ANY,*/ CLIENT_PORT, client_config.interface);