summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 8bf07783e..f58044411 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -4022,7 +4022,7 @@ ospf_proactively_arp (struct ospf_neighbor *nbr)
char *str_ptr;
int ret;
- if (!nbr || !nbr->oi || !nbr->oi->ifp || !nbr->oi->ifp->name)
+ if (!nbr || !nbr->oi || !nbr->oi->ifp)
return;
str_ptr = strcpy (ping_nbr, "ping -c 1 -I ");