summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_rnh.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-24 21:35:37 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-02-09 01:36:18 +0100
commit44bdf1590d4eccb8764f2c6f5de48c59e3eff9c2 (patch)
tree518d743c04902f49fde4cc0b2624875559e28e16 /zebra/zebra_rnh.c
parent*: Track vrfs per nexthop not per route entry (diff)
downloadfrr-44bdf1590d4eccb8764f2c6f5de48c59e3eff9c2.tar.xz
frr-44bdf1590d4eccb8764f2c6f5de48c59e3eff9c2.zip
lib, zebra: Move nh_resolve_via_default to appropriate header
The nh_resolve_via_default function is an accessor function for NHT in zebra. Let's move this function to it's proper place. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rnh.c')
-rw-r--r--zebra/zebra_rnh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c
index dfac8807a..9fc5afff0 100644
--- a/zebra/zebra_rnh.c
+++ b/zebra/zebra_rnh.c
@@ -659,7 +659,7 @@ static struct route_entry *zebra_rnh_resolve_nexthop_entry(vrf_id_t vrfid,
* match route to be exact if so specified
*/
if (is_default_prefix(&rn->p) &&
- !nh_resolve_via_default(rn->p.family))
+ !rnh_resolve_via_default(rn->p.family))
return NULL;
/* Identify appropriate route entry. */