From 6ffa8f53931e2ae8becf8ec6ef09db88737a6a06 Mon Sep 17 00:00:00 2001 From: Jan Moskyto Matejka Date: Thu, 7 Jan 2016 12:02:54 +0100 Subject: Hidden AF_INET* inside sysdep/ --- proto/radv/packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/radv') diff --git a/proto/radv/packets.c b/proto/radv/packets.c index 3bb38221..8f6a1913 100644 --- a/proto/radv/packets.c +++ b/proto/radv/packets.c @@ -412,7 +412,7 @@ radv_sk_open(struct radv_iface *ifa) sk->type = SK_IP; sk->dport = ICMPV6_PROTO; sk->saddr = ifa->addr->ip; - sk->af = AF_INET6; + sk->fam = SK_FAM_IPV6; sk->ttl = 255; /* Mandatory for Neighbor Discovery packets */ sk->rx_hook = radv_rx_hook; -- cgit v1.2.3