summaryrefslogtreecommitdiff
path: root/proto/radv/packets.c
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 /proto/radv/packets.c
parent5b218c3d9bf9357aed0acf535bdfc6684cc5cda4 (diff)
Hidden AF_INET* inside sysdep/
Diffstat (limited to 'proto/radv/packets.c')
-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;