1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Hidden AF_INET* inside sysdep/

This commit is contained in:
Jan Moskyto Matejka
2016-01-07 12:02:54 +01:00
parent 5b218c3d9b
commit 6ffa8f5393
8 changed files with 34 additions and 26 deletions

View File

@@ -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;