mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-18 21:16:54 +02:00
ifdef omit of deletePersistentTapDevice() in OneService for libzt builds on Windows
This commit is contained in:
parent
f2c69ede96
commit
ee4783e3fb
1 changed files with 1 additions and 1 deletions
|
@ -1989,7 +1989,7 @@ public:
|
|||
*nuptr = (void *)0;
|
||||
delete n.tap;
|
||||
_nets.erase(nwid);
|
||||
#ifdef __WINDOWS__
|
||||
#if defined(__WINDOWS__) && !defined(ZT_SDK)
|
||||
if ((op == ZT_VIRTUAL_NETWORK_CONFIG_OPERATION_DESTROY)&&(winInstanceId.length() > 0))
|
||||
WindowsEthernetTap::deletePersistentTapDevice(winInstanceId.c_str());
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue