Encode family as AF_INET6 for Ipv6 routes