Skip to content
Snippets Groups Projects
Commit b17adf07 authored by Toke Høiland-Jørgensen's avatar Toke Høiland-Jørgensen Committed by Ondřej Zajíček
Browse files

BSD: Propagate OS-level IFF_MULTICAST to internal IF_MULTICAST flag

The BSD code did not propagate the OS-level IFF_MULTICAST flag to the
Bird-internal IF_MULTICAST flag, which causes problems with Wireguard
interfaces on FreeBSD. The Linux sysdep code does propagate the flag
already, so just copy over the same check and flag update.
parent 2a0af925
No related branches found
No related tags found
No related merge requests found
......@@ -665,6 +665,9 @@ krt_read_ifinfo(struct ks_msg *msg, int scan)
else
f.flags |= IF_MULTIACCESS; /* NBMA */
if (fl & IFF_MULTICAST)
f.flags |= IF_MULTICAST;
iface = if_update(&f);
if (!scan)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment