]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix creation of "other table" for rdnbrd
authordslice <dslice@cumulusnetworks.com>
Wed, 17 Feb 2016 18:19:18 +0000 (10:19 -0800)
committerdslice <dslice@cumulusnetworks.com>
Thu, 18 Feb 2016 16:19:42 +0000 (08:19 -0800)
commit99a654bd0c58be5ae70499c894dedea831d5aaff
treebe839bdd54fa8a5070739cf09a995c80164cfa8f
parent71f610777c64442c415b1835f8a69d4afca40988
zebra: fix creation of "other table" for rdnbrd

zebra: add the creation of the alternative table for rdnbrd in the context of vrfs

When rdnbrd pulls arp entries into table 10, which are then sent into quagga via netlink, the entries were incorrectly being added to the main table.  This fix creates or uses the alternative table if the table-id is not default but the vrf-id is default.  Tested manually and also run successfully in the /tests/l3/ospf_ebgp_redist_comprehensive_test.py:TestBasicEndToEndPing , which consistently failed bafore this fix was applied.

Signed-off-by: Don Slice
Reviewed-by: Donald Sharp
zebra/zebra_rib.c