mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Fix multicast flag on linux interfaces.
When we re-ordered the way the interfaces come up, this flag
stopped getting set automatically.
see 9374e45449
and github issue #1477
This commit is contained in:
parent
3c7bd65bc9
commit
37f26beb50
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
ZeroTier Release Notes
|
ZeroTier Release Notes
|
||||||
======
|
======
|
||||||
|
# 2021-11-00 -- Version 1.8.2
|
||||||
|
* Fix multicast on linux.
|
||||||
|
|
||||||
# 2021-10-28 -- Version 1.8.1
|
# 2021-10-28 -- Version 1.8.1
|
||||||
|
|
||||||
|
|
|
@ -213,6 +213,7 @@ LinuxEthernetTap::LinuxEthernetTap(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ifr.ifr_flags |= IFF_MULTICAST;
|
||||||
ifr.ifr_flags |= IFF_UP;
|
ifr.ifr_flags |= IFF_UP;
|
||||||
if (ioctl(sock,SIOCSIFFLAGS,(void *)&ifr) < 0) {
|
if (ioctl(sock,SIOCSIFFLAGS,(void *)&ifr) < 0) {
|
||||||
::close(sock);
|
::close(sock);
|
||||||
|
|
Loading…
Add table
Reference in a new issue