summaryrefslogtreecommitdiff
path: root/sysdep/linux/sysio.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-05-17 15:21:49 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-05-17 15:21:49 +0200
commit08b3a24da5bbd1bab09d6a2400cdf7705d5e18a7 (patch)
tree41335bdccfca47f09d4aaa3da01038068714af84 /sysdep/linux/sysio.h
parent5af7b59660be615fbbd7c20b92b71321c003c43a (diff)
IO: Minor changes in socket AF handing
AF can be specified implicitly by saddr or daddr, flags SKF_V4ONLY and SKF_V6ONLY are to be removed.
Diffstat (limited to 'sysdep/linux/sysio.h')
-rw-r--r--sysdep/linux/sysio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/sysio.h b/sysdep/linux/sysio.h
index 3c07a3e7..58644417 100644
--- a/sysdep/linux/sysio.h
+++ b/sysdep/linux/sysio.h
@@ -184,7 +184,7 @@ sk_set_md5_auth(sock *s, ip_addr local UNUSED, ip_addr remote, struct iface *ifa
struct tcp_md5sig md5;
memset(&md5, 0, sizeof(md5));
- sockaddr_fill((sockaddr *) &md5.tcpm_addr, fam_to_af[s->fam], remote, ifa, 0);
+ sockaddr_fill((sockaddr *) &md5.tcpm_addr, s->af, remote, ifa, 0);
if (passwd)
{