Browse Source

Right now only FreeBSD can use BSDEthernetTap, which will probably get renamed accordingly. NetBSD and OpenBSD do not support tap, only tun, so they will have to wait.

Adam Ierymenko 10 years ago
parent
commit
91f02d699e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/OneService.cpp

+ 1 - 1
service/OneService.cpp

@@ -95,7 +95,7 @@ namespace ZeroTier { typedef LinuxEthernetTap EthernetTap; }
 #include "../osdep/WindowsEthernetTap.hpp"
 namespace ZeroTier { typedef WindowsEthernetTap EthernetTap; }
 #endif
-#if defined(__BSD__) && (!defined(__APPLE__))
+#ifdef __FreeBSD__
 #include "../osdep/BSDEthernetTap.hpp"
 namespace ZeroTier { typedef BSDEthernetTap EthernetTap; }
 #endif