summaryrefslogtreecommitdiff
path: root/pimd/pim_pim.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2018-05-03 09:39:55 -0500
committerGitHub <noreply@github.com>2018-05-03 09:39:55 -0500
commit6d8fa7643d5baf3b04cbe38501c05aad65657fe1 (patch)
treeabcfc2bf17f492ff3de98a7fc29accd92051ad52 /pimd/pim_pim.c
parenta2892c914b7cab86ab06ec69028b46705cf5c4b5 (diff)
parente55a43d491c8423feceb6c37b8d42d8b1637a0e5 (diff)
Merge pull request #2143 from donaldsharp/pimaroni
Pimaroni
Diffstat (limited to 'pimd/pim_pim.c')
-rw-r--r--pimd/pim_pim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c
index ffe5d52a15..de09b070f4 100644
--- a/pimd/pim_pim.c
+++ b/pimd/pim_pim.c
@@ -653,7 +653,7 @@ static int pim_hello_send(struct interface *ifp, uint16_t holdtime)
{
struct pim_interface *pim_ifp = ifp->info;
- if (pim_if_is_loopback(pim_ifp->pim, ifp))
+ if (pim_if_is_loopback(ifp))
return 0;
if (hello_send(ifp, holdtime)) {
@@ -755,7 +755,7 @@ void pim_hello_restart_triggered(struct interface *ifp)
/*
* No need to ever start loopback or vrf device hello's
*/
- if (pim_if_is_loopback(pim_ifp->pim, ifp))
+ if (pim_if_is_loopback(ifp))
return;
/*