summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-01-07 12:02:54 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2016-01-11 09:29:51 +0100
commit6ffa8f53931e2ae8becf8ec6ef09db88737a6a06 (patch)
treec4a2a01133834c41f058d24947964184ca779bcc /sysdep/linux
parent5b218c3d9bf9357aed0acf535bdfc6684cc5cda4 (diff)
Hidden AF_INET* inside sysdep/
Diffstat (limited to 'sysdep/linux')
-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 c1561cbf..6386940f 100644
--- a/sysdep/linux/sysio.h
+++ b/sysdep/linux/sysio.h
@@ -184,7 +184,7 @@ sk_set_md5_auth(sock *s, ip_addr a, struct iface *ifa, char *passwd)
struct tcp_md5sig md5;
memset(&md5, 0, sizeof(md5));
- sockaddr_fill((sockaddr *) &md5.tcpm_addr, s->af, a, ifa, 0);
+ sockaddr_fill((sockaddr *) &md5.tcpm_addr, fam_to_af[s->fam], a, ifa, 0);
if (passwd)
{