diff options
Diffstat (limited to 'proto/radv')
-rw-r--r-- | proto/radv/packets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/radv/packets.c b/proto/radv/packets.c index a38b58b2..3bb38221 100644 --- a/proto/radv/packets.c +++ b/proto/radv/packets.c @@ -412,6 +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->ttl = 255; /* Mandatory for Neighbor Discovery packets */ sk->rx_hook = radv_rx_hook; |