summaryrefslogtreecommitdiffstats
path: root/pimd/pim_rpf.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-08-09 21:04:23 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:06 +0100
commit05b0d0d0ecadcf030ae8fdffc2e78ab6392fc500 (patch)
tree4711e67edc0d529313d4e18fd87f0d64c84b81ff /pimd/pim_rpf.c
parentpimd: Remove some impossible error conditions. (diff)
downloadfrr-05b0d0d0ecadcf030ae8fdffc2e78ab6392fc500.tar.xz
frr-05b0d0d0ecadcf030ae8fdffc2e78ab6392fc500.zip
pimd: Properly isolate zlookup
The qpim_zclient_lookup was a global variable. This is not needed. Isolate appropriately Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rpf.c')
-rw-r--r--pimd/pim_rpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c
index b610d9107..15b00d8d0 100644
--- a/pimd/pim_rpf.c
+++ b/pimd/pim_rpf.c
@@ -49,7 +49,7 @@ int pim_nexthop_lookup(struct pim_nexthop *nexthop,
if (!incoming)
{
- num_ifindex = zclient_lookup_nexthop(qpim_zclient_lookup, nexthop_tab,
+ num_ifindex = zclient_lookup_nexthop(nexthop_tab,
PIM_NEXTHOP_IFINDEX_TAB_SIZE,
addr, PIM_NEXTHOP_LOOKUP_MAX);
if (num_ifindex < 1) {