From 91f02d699e6a53eb414350bb4e841952e6d1f8b1 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 25 May 2015 11:11:37 -0700 Subject: 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. --- service/OneService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service') diff --git a/service/OneService.cpp b/service/OneService.cpp index 9a72c240..9a024c2c 100644 --- a/service/OneService.cpp +++ b/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 -- cgit v1.2.3