1
0
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:
Ondrej Zajicek
2010-04-02 16:11:46 +02:00
parent 97ab4c3498
commit e7b09e4ab9
4 changed files with 24 additions and 12 deletions

View File

@@ -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>