]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix freebsd mcast group issues 9037/head
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 12 Jul 2021 19:51:49 +0000 (22:51 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Mon, 12 Jul 2021 19:56:04 +0000 (22:56 +0300)
commit93828a99232cfa5ab00ee7ec8003a6b22b6975e9
treeb23d113645da26adbd998ab43fb0ed6b0cd10456
parent507559a089a7ba539b90c4bb1cd0410a4b4b1345
ospf6d: fix freebsd mcast group issues

There's a delay in FreeBSD between issuing a command to leave a
multicast group and an actual leave. If we execute "no router ospf6" and
"router ospf6" fast enough, we can end up in a situation when OS
performs the leave later than it performs the join and the interface
remains without a multicast group.

Instead of counting on a one second delay, we must wait until the
interface actually leaves the group.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospf6d/ospf6_interface.c