summaryrefslogtreecommitdiffstats
path: root/pimd/pim_iface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-29 16:45:38 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:41 +0200
commit64c86530951bce66d2779134a64e208f5a7979f3 (patch)
tree72bc7d972083d8dc5a1a51d20fa4bf8bc79f5035 /pimd/pim_iface.c
parentpimd: Fix some small crashes in pim (diff)
downloadfrr-64c86530951bce66d2779134a64e208f5a7979f3.tar.xz
frr-64c86530951bce66d2779134a64e208f5a7979f3.zip
pimd: Put 'struct pim_instance *' as the first function parameter
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.c')
-rw-r--r--pimd/pim_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c
index f87610a40..3cf8f678c 100644
--- a/pimd/pim_iface.c
+++ b/pimd/pim_iface.c
@@ -676,7 +676,7 @@ void pim_if_addr_add(struct connected *ifc)
rpf.rpf_addr.u.prefix4 = ifc->address->u.prefix4;
pnc = pim_nexthop_cache_find(pim_ifp->pim, &rpf);
if (pnc)
- pim_sendmsg_zebra_rnh(zclient, pim_ifp->pim,
+ pim_sendmsg_zebra_rnh(pim_ifp->pim, zclient,
pnc,
ZEBRA_NEXTHOP_REGISTER);
}