summaryrefslogtreecommitdiffstats
path: root/pimd/pim_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_join.c')
-rw-r--r--pimd/pim_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c
index 6569e832f..d77d2e996 100644
--- a/pimd/pim_join.c
+++ b/pimd/pim_join.c
@@ -114,7 +114,7 @@ static void recv_join(struct interface *ifp, struct pim_neighbor *neigh,
return;
}
- sg->src.s_addr = INADDR_ANY;
+ sg->src = PIMADDR_ANY;
}
/* Restart join expiry timer */
@@ -163,7 +163,7 @@ static void recv_prune(struct interface *ifp, struct pim_neighbor *neigh,
__func__, received_rp, sg);
}
- sg->src.s_addr = INADDR_ANY;
+ sg->src = PIMADDR_ANY;
}
pim_ifchannel_prune(ifp, upstream, sg, source_flags, holdtime);