diff options
Diffstat (limited to 'osnet/LinuxEthernetTapFactory.cpp')
| -rw-r--r-- | osnet/LinuxEthernetTapFactory.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/osnet/LinuxEthernetTapFactory.cpp b/osnet/LinuxEthernetTapFactory.cpp index 01633abb..59327fff 100644 --- a/osnet/LinuxEthernetTapFactory.cpp +++ b/osnet/LinuxEthernetTapFactory.cpp @@ -71,13 +71,4 @@ void LinuxEthernetTapFactory::close(EthernetTap *tap,bool destroyPersistentDevic delete tap; } -std::vector<std::string> allTapDeviceNames() const -{ - std::vector<std::string> dn; - Mutex::Lock _l(_devices_m); - for(std::vector<EthernetTap *>::const_iterator d(_devices.begin());d!=_devices.end();++d) - dn.push_back(d->deviceName()); - return dn; -} - } // namespace ZeroTier |
