diff options
author | vivek <vivek@cumulusnetworks.com> | 2015-12-09 20:01:21 +0100 |
---|---|---|
committer | vivek <vivek@cumulusnetworks.com> | 2015-12-09 20:01:21 +0100 |
commit | d50b5bdd744eef4a44d4fee70f781e68f2074a2a (patch) | |
tree | 50b7ddaa6108fcd850b8166de9a8ed47e07a99c1 /zebra/zebra_rnh_null.c | |
parent | Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga in... (diff) | |
download | frr-d50b5bdd744eef4a44d4fee70f781e68f2074a2a.tar.xz frr-d50b5bdd744eef4a44d4fee70f781e68f2074a2a.zip |
zebra: Reorganize NHT code
NextHop Tracking (NHT) is a significant function introduced into Quagga
by Cumulus. Initially intended for tracking BGP nexthops, this has been
extended subsequently to also cater to nexthops for static routes, BGP
peer reachability tracking and BGP route tracking for routes to be
imported into BGP.
This patch reorganizes the code a bit to make it easier to follow and
maintain. No functional changes introduced.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Dinesh Dutt <ddutt@cumulusnetworks.com>
Ticket: CM-5599
Reviewed By: CCR-3906
Testing Done: Manual and bgpsmoke
Diffstat (limited to 'zebra/zebra_rnh_null.c')
-rw-r--r-- | zebra/zebra_rnh_null.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rnh_null.c b/zebra/zebra_rnh_null.c index 0b8f4b0d8..f4a651c77 100644 --- a/zebra/zebra_rnh_null.c +++ b/zebra/zebra_rnh_null.c @@ -6,9 +6,9 @@ int zebra_rnh_ip_default_route = 0; int zebra_rnh_ipv6_default_route = 0; -int zebra_evaluate_rnh (vrf_id_t vrfid, int family, int force, rnh_type_t type, +void zebra_evaluate_rnh (vrf_id_t vrfid, int family, int force, rnh_type_t type, struct prefix *p) -{ return 0; } +{} void zebra_print_rnh_table (vrf_id_t vrfid, int family, struct vty *vty, rnh_type_t type) |