summaryrefslogtreecommitdiff
path: root/zebra/irdp_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/irdp_main.c')
-rw-r--r--zebra/irdp_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/irdp_main.c b/zebra/irdp_main.c
index e4e71cf3..55106699 100644
--- a/zebra/irdp_main.c
+++ b/zebra/irdp_main.c
@@ -244,6 +244,10 @@ int irdp_send_thread(struct thread *t_advert)
for (ALL_LIST_ELEMENTS (ifp->connected, node, nnode, ifc))
{
p = ifc->address;
+
+ if (p->family != AF_INET)
+ continue;
+
irdp_advertisement(ifp, p);
irdp->irdp_sent++;
}