Merge pull request #1478 from zerotier/fix-linux-multicast

Fix multicast flag on linux interfaces.
This commit is contained in:
Grant Limberg 2021-11-02 11:38:33 -07:00 committed by GitHub
commit c46309ea8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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);