]> git.puffer.fish Git - mirror/frr.git/commit
zebra: use AF_INET for protocol family 8098/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 16 Feb 2021 20:54:08 +0000 (15:54 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 16 Feb 2021 20:54:08 +0000 (15:54 -0500)
commitd6816f68bd1fafb991cdd3e6c6081ee38db226d1
tree4d3197cafa2f37e74e56ddef5d1d8af0a18e9ba3
parent0fec6da17230d4c24298dc4b28f85f11db4d4e72
zebra: use AF_INET for protocol family

When looking up the conversion from kernel protocol to
internal protocol family make sure we use the correct
AF_INET( what the kernel uses ) instead of AFI_IP (which
is what FRR uses ).

Routes from OSPF will show up from the kernel as OSPF6 instead of
OSPF.  Which will cause mayhem

Ticket: CM-33306
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/rt_netlink.c