diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-02 16:11:46 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-02 16:11:46 +0200 |
commit | e7b09e4ab99fc850480480bbb577ffa36a6c5cd7 (patch) | |
tree | 878afa02cdb11fc78664ea8ce5ac542e897d91d2 /sysdep/bsd | |
parent | 97ab4c34986139b2419c563a3de7ddfe41727d07 (diff) |
Use SO_BINDTODEVICE also in Linux/IPv6.
Diffstat (limited to 'sysdep/bsd')
-rw-r--r-- | sysdep/bsd/sysio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdep/bsd/sysio.h b/sysdep/bsd/sysio.h index 87c78fb3..ff821a77 100644 --- a/sysdep/bsd/sysio.h +++ b/sysdep/bsd/sysio.h @@ -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> |