vrrp: prevent segfault in multicast join due to missing LL Addr 06/32906/2
authorJon Loeliger <jdl@netgate.com>
Fri, 25 Jun 2021 15:24:57 +0000 (11:24 -0400)
committerNeale Ranns <neale@graphiant.com>
Sat, 26 Jun 2021 07:39:10 +0000 (07:39 +0000)
commitdabdc197981a49eac54bb43238f4ebd31075622a
tree6de9dae7e586e0831606096c62dbfe9ccb43a61c
parent905c15319c9a732b1bc785b8ce5a97d5817f26f8
vrrp: prevent segfault in multicast join due to missing LL Addr

If an IPv6 Link Layer Address is missing from an interface,
treat it as a down interface.  While this fails to send a
VRRP multicast group join, it also prevents a seg fault.

Type: fix
Fixes: 39e9428b90bc74d1bb15fc17759c8ef6ad712418
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Change-Id: Iebf69bb30604a96de6587655eb872aa818158a56
src/plugins/vrrp/vrrp_packet.c