summaryrefslogtreecommitdiff
path: root/proto/radv
diff options
context:
space:
mode:
Diffstat (limited to 'proto/radv')
-rw-r--r--proto/radv/packets.c2
1 files changed, 1 insertions, 1 deletions
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;