diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-07 18:45:04 -0500 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-07 18:45:04 -0500 |
commit | b11627a8bc37a51455538f45484f3eae1ce195de (patch) | |
tree | 2f9ded5aecfd0a5f77d55e04ca6e0db732e7e333 /service | |
parent | 7436f85ad087732a79cf1b99c5448187401c6da3 (diff) | |
download | infinitytier-b11627a8bc37a51455538f45484f3eae1ce195de.tar.gz infinitytier-b11627a8bc37a51455538f45484f3eae1ce195de.zip |
add SDK VirtualTap to new factory method
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index a434f484..b38e8f42 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -100,30 +100,8 @@ using json = nlohmann::json; #include "../controller/EmbeddedNetworkController.hpp" #include "../controller/RabbitMQ.hpp" - -#ifdef ZT_USE_TEST_TAP - -#include "../osdep/TestEthernetTap.hpp" -namespace ZeroTier { typedef TestEthernetTap EthernetTap; } - -#else - -#ifdef ZT_SDK - -#include "../controller/EmbeddedNetworkController.hpp" -#include "../node/Node.hpp" -// Use the virtual netcon endpoint instead of a tun/tap port driver -#include "../include/VirtualTap.hpp" -namespace ZeroTier { typedef VirtualTap EthernetTap; } - -#else - #include "../osdep/EthernetTap.hpp" -#endif // ZT_SDK - -#endif // ZT_USE_TEST_TAP - #ifndef ZT_SOFTWARE_UPDATE_DEFAULT #define ZT_SOFTWARE_UPDATE_DEFAULT "disable" #endif |