1 --- a/networking/udhcp/dhcpc.c
2 +++ b/networking/udhcp/dhcpc.c
3 @@ -320,6 +320,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
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 + udhcp_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 = udhcp_listen_socket(/*INADDR_ANY,*/ CLIENT_PORT, client_config.interface);