]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Fix up default admin distance for some route types
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 26 Jun 2017 14:44:50 +0000 (10:44 -0400)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 12 Sep 2017 13:59:07 +0000 (10:59 -0300)
commitc710b277cfde65fab8ae071fd80992e836bff7f2
tree4335e6f6ace9d85ed901bb24828a35a92ca4f066
parent953d97fc4aef0c7715e8d42d7d52ebc18d873ac6
zebra: Fix up default admin distance for some route types

Set the default admin distance for some route types
more appropriately.  The route_distance function
would return 0 for array items not configured, which
is not the right thing to do.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zebra_rib.c