diff options
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index deb5f519bd..b73dc688fb 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -4081,13 +4081,5 @@ uint32_t zclient_get_nhg_start(uint32_t proto) { assert(proto < ZEBRA_ROUTE_MAX); - return ZEBRA_NHG_SPACING * proto; -} - -/* - * Where do routing protocols IDs start overall (first ID after zebra) - */ -uint32_t zclient_get_nhg_lower_bound() -{ - return ZEBRA_NHG_SPACING * (ZEBRA_ROUTE_CONNECT + 1); + return ZEBRA_NHG_PROTO_SPACING * proto; } |
