Handle changing interface indexes when binding DHCP sockets.

This commit is contained in:
Simon Kelley
2022-02-03 17:12:38 +00:00
parent 292dfa653e
commit fa580ad3eb
4 changed files with 56 additions and 26 deletions

View File

@@ -1715,7 +1715,7 @@ struct dhcp_config *find_config(struct dhcp_config *configs,
int config_has_mac(struct dhcp_config *config, unsigned char *hwaddr, int len, int type);
#ifdef HAVE_LINUX_NETWORK
char *whichdevice(void);
void bindtodevice(char *device, int fd);
int bind_dhcp_devices(char *bound_device);
#endif
# ifdef HAVE_DHCP6
void display_opts6(void);