summaryrefslogtreecommitdiffstats
path: root/pimd/pim_rpf.c
diff options
context:
space:
mode:
authorsarita patra <saritap@vmware.com>2022-02-17 09:08:31 +0100
committersarita patra <saritap@vmware.com>2022-03-01 03:03:12 +0100
commit113f29b90d0f0b5f94c653e4e3d85967b70cd917 (patch)
treeff9b8217df9c7b35c6abed1dde630873862a9675 /pimd/pim_rpf.c
parentMerge pull request #10424 from patrasar/master_pimv6_nht (diff)
downloadfrr-113f29b90d0f0b5f94c653e4e3d85967b70cd917.tar.xz
frr-113f29b90d0f0b5f94c653e4e3d85967b70cd917.zip
pim6d: Handling last_lookup in pim_nexthop for IPV6
Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_rpf.c')
-rw-r--r--pimd/pim_rpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c
index d971cef24..60041fe5e 100644
--- a/pimd/pim_rpf.c
+++ b/pimd/pim_rpf.c
@@ -67,7 +67,7 @@ bool pim_nexthop_lookup(struct pim_instance *pim, struct pim_nexthop *nexthop,
* 255.255.255.255 address, since
* it will never work
*/
- if (addr.s_addr == INADDR_NONE)
+ if (pim_addr_is_none(addr))
return false;
#endif