mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-22 02:16:38 +00:00
Merge pull request #1478 from zerotier/fix-linux-multicast
Fix multicast flag on linux interfaces.
This commit is contained in:
commit
c46309ea8a
@ -1,5 +1,7 @@
|
||||
ZeroTier Release Notes
|
||||
======
|
||||
# 2021-11-00 -- Version 1.8.2
|
||||
* Fix multicast on linux.
|
||||
|
||||
# 2021-10-28 -- Version 1.8.1
|
||||
|
||||
|
@ -213,6 +213,7 @@ LinuxEthernetTap::LinuxEthernetTap(
|
||||
return;
|
||||
}
|
||||
|
||||
ifr.ifr_flags |= IFF_MULTICAST;
|
||||
ifr.ifr_flags |= IFF_UP;
|
||||
if (ioctl(sock,SIOCSIFFLAGS,(void *)&ifr) < 0) {
|
||||
::close(sock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user