]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Send correct default vrf tableid for MROUTE stats 3038/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 17 Sep 2018 13:18:40 +0000 (09:18 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 17 Sep 2018 13:22:31 +0000 (09:22 -0400)
commit5523c15692d4cc34ae7a20a4c2c5e80301734761
tree36519791ba9db1836e898dbd5a6dc42e209957e7
parent423648901abd195759ddda579970161d09d46433
zebra: Send correct default vrf tableid for MROUTE stats

So the linux kernel uses the RT_TABLE_MAIN for the table
id used for ip routing.  The multicast routing tables use
RT_TABLE_DEFAULT.  We changed the internal code of zebra_vrf
a few months back to use RT_TABLE_MAIN as the tableid to
use.  This caused the pim sg stats to stop working because
of the kernel bug where it uses a different table
for ip routing and ip multicast.

Put a bit of a special case in to do the right thing.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c