summaryrefslogtreecommitdiff
path: root/pimd/pim_iface.c
diff options
context:
space:
mode:
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 e1cc3a97cf..7f64c9d5f2 100644
--- a/pimd/pim_iface.c
+++ b/pimd/pim_iface.c
@@ -893,7 +893,7 @@ int pim_if_add_vif(struct interface *ifp)
return -1;
}
- if (ifp->ifindex < 1) {
+ if (ifp->ifindex < 0) {
zlog_warn("%s: ifindex=%d < 1 on interface %s",
__PRETTY_FUNCTION__,
ifp->ifindex, ifp->name);