summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh_null.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2015-12-09 11:01:21 -0800
committervivek <vivek@cumulusnetworks.com>2015-12-09 11:01:21 -0800
commitd50b5bdd744eef4a44d4fee70f781e68f2074a2a (patch)
tree50b7ddaa6108fcd850b8166de9a8ed47e07a99c1 /zebra/zebra_rnh_null.c
parent451e7cd49e081de307b682dc24b0ed850e22edfb (diff)
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rnh_null.c b/zebra/zebra_rnh_null.c
index 0b8f4b0d8c..f4a651c778 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)