]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix freebsd mcast group issues 9042/head
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 12 Jul 2021 19:51:49 +0000 (22:51 +0300)
committermergify-bot <noreply@mergify.io>
Tue, 13 Jul 2021 13:50:08 +0000 (13:50 +0000)
commitc4beb8df36acad2d611de0c97195787e483db0ec
tree400e761f4c0f3077b57f0cdac26f1c4c8ebf54eb
parent6b585b016ac7391bcdbb4ce7939f7f6393a84878
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>
(cherry picked from commit 93828a99232cfa5ab00ee7ec8003a6b22b6975e9)
ospf6d/ospf6_interface.c