Log SO_BINDTODEVICE use at startup.

This commit is contained in:
Simon Kelley
2013-10-11 16:33:28 +01:00
parent 24b5a5d50b
commit 3b3f441189
3 changed files with 47 additions and 22 deletions

View File

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