mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 01:59:57 +00:00
Merge pull request #12987 from FRRouting/mergify/bp/stable/8.5/pr-12978
pimd: IN_MULTICAST needs host order (backport #12978)
This commit is contained in:
commit
34e3719e80
@ -172,7 +172,7 @@ int pim_get_all_mcast_group(struct prefix *prefix)
|
||||
bool pim_addr_is_multicast(pim_addr addr)
|
||||
{
|
||||
#if PIM_IPV == 4
|
||||
if (IN_MULTICAST(addr.s_addr))
|
||||
if (IN_MULTICAST(ntohl(addr.s_addr)))
|
||||
return true;
|
||||
#else
|
||||
if (IN6_IS_ADDR_MULTICAST(&addr))
|
||||
|
Loading…
Reference in New Issue
Block a user