summaryrefslogtreecommitdiff
path: root/pimd/pim_rp.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-03-02 10:41:22 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-03-02 10:41:22 +0100
commitb369d0cc4077055f4649708ff3bd6dba7c1892b4 (patch)
tree60ef10d4fd4f0978d5be2309d138317cb497a2bf /pimd/pim_rp.c
parentcc144e8b6b11e7e44f34871dd24b1ab21107b4b8 (diff)
pimd: fix stray comment referencing INADDR_NONE
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_rp.c')
-rw-r--r--pimd/pim_rp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_rp.c b/pimd/pim_rp.c
index c062d5488b..7d9cab9f01 100644
--- a/pimd/pim_rp.c
+++ b/pimd/pim_rp.c
@@ -510,7 +510,7 @@ int pim_rp_new(struct pim_instance *pim, struct in_addr rp_addr, struct prefix g
}
/*
- * Take over the 224.0.0.0/4 group if the rp is INADDR_NONE
+ * Take over the 224.0.0.0/4 group if the rp is INADDR_ANY
*/
if (prefix_same(&rp_all->group, &rp_info->group) &&
pim_rpf_addr_is_inaddr_any(&rp_all->rp)) {