summaryrefslogtreecommitdiffstats
path: root/pimd/pim_vxlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_vxlan.h')
-rw-r--r--pimd/pim_vxlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_vxlan.h b/pimd/pim_vxlan.h
index ce9054cd2..d17de8e3d 100644
--- a/pimd/pim_vxlan.h
+++ b/pimd/pim_vxlan.h
@@ -116,7 +116,7 @@ static inline bool pim_vxlan_is_local_sip(struct pim_upstream *up)
{
return (up->sg.src.s_addr != INADDR_ANY) &&
up->rpf.source_nexthop.interface &&
- if_is_loopback_or_vrf(up->rpf.source_nexthop.interface);
+ if_is_loopback(up->rpf.source_nexthop.interface);
}
static inline bool pim_vxlan_is_term_dev_cfg(struct pim_instance *pim,