]> git.puffer.fish Git - mirror/frr.git/commit
zebra: remove default vrf output for kernel vrf ipv6 blackhole default
authorDon Slice <dslice@cumulusnetworks.com>
Tue, 17 Jul 2018 14:20:52 +0000 (14:20 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Tue, 17 Jul 2018 14:35:33 +0000 (14:35 +0000)
commitfc132690b49f33c0131a3b0d5d7ce3ca174b2ec2
tree148a32e921f93b320b124dec8b04a25fe14e9520
parent972388dd5c79f195dc7365dfd9e6540578e857c8
zebra: remove default vrf output for kernel vrf ipv6 blackhole default

It was reported that "show ipv6 route vrf <vrfname>", "show ipv6 route
vrf <vrfname> ::/0 " or "show ipv6 route vrf <vrfname> json" all
displayed that the nexthop was in the default vrf.  This was because
the kernel netlink messages would supply the RTA_OIF of the loopback
interface for the kernel-created default route for the vrf, where ipv4
did not supply any RTA_OIF.  This fix suppresses the display if the
nexthop and route entry are in different vrfs and the nexthop is
NEXTHOP_TYPE_BLACKHOLE.

Ticket: CM-21722
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
zebra/zebra_vty.c