mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Use SO_BINDTODEVICE also in Linux/IPv6.
This commit is contained in:
@@ -22,6 +22,14 @@ get_inaddr(ip_addr *a, struct in6_addr *ia)
|
||||
ipa_ntoh(*a);
|
||||
}
|
||||
|
||||
static inline char *
|
||||
sysio_bind_to_iface(sock *s)
|
||||
{
|
||||
/* Unfortunately not available */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
#else
|
||||
|
||||
#include <net/if.h>
|
||||
|
Reference in New Issue
Block a user