diff options
author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-07-30 11:31:38 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-07-30 11:31:38 -0700 |
commit | 8169b3548251b6e1cb78fa1c7561469bad4e1692 (patch) | |
tree | f20833409db3c7a62354797bc3905c487f50be89 /service | |
parent | 7cd3c419ee720adb5acc9d754773d52ad5ceafab (diff) | |
download | infinitytier-8169b3548251b6e1cb78fa1c7561469bad4e1692.tar.gz infinitytier-8169b3548251b6e1cb78fa1c7561469bad4e1692.zip |
Kill the devcon.exe dependency by dynamically loading cfgmgr32, newdev, and setupapi and using these functions directly.
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 06e37a45..4ee473f8 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -982,7 +982,7 @@ public: _tapAssignedIps.erase(nwid); #ifdef __WINDOWS__ if ((op == ZT1_VIRTUAL_NETWORK_CONFIG_OPERATION_DESTROY)&&(winInstanceId.length() > 0)) - WindowsEthernetTap::deletePersistentTapDevice(_homePath.c_str(),winInstanceId.c_str()); + WindowsEthernetTap::deletePersistentTapDevice(winInstanceId.c_str()); #endif } break; |