]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix administrative distance issues 1160/head
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 12 Sep 2017 01:51:40 +0000 (22:51 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 12 Sep 2017 14:02:25 +0000 (11:02 -0300)
commit0492eea08e5708b6931b0264d9731b532e00aade
treea0ea2a5776d2de193a10a155841a644a5b1a5599
parentc710b277cfde65fab8ae071fd80992e836bff7f2
zebra: fix administrative distance issues

* Reuse route_distance() on rib_add_multipath() and on rib_add();
* Set the admin distance of LDP and BGP MPLS LSPs.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zebra_mpls.h
zebra/zebra_rib.c