pim6d: Adjust IPV6 secondary address list

Within one Address List Hello option, all the addresses MUST be of
the same address family.  It is not permitted to mix IPv4 and IPv6
addresses within the same message.  In addition, the address family
of the fields in the message SHOULD be the same as the IP source and
destination addresses of the packet header.

Signed-off-by: sarita patra <saritap@vmware.com>
This commit is contained in:
sarita patra 2022-04-28 03:27:42 -07:00
parent 633a50d11c
commit d58395d1f3

View File

@ -715,7 +715,7 @@ static void delete_from_neigh_addr(struct interface *ifp,
struct listnode *neigh_node;
struct pim_neighbor *neigh;
if (addr->family != AF_INET)
if (addr->family != PIM_AF)
continue;
/*