summaryrefslogtreecommitdiff
path: root/node/NodeConfig.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/NodeConfig.hpp')
-rw-r--r--node/NodeConfig.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/node/NodeConfig.hpp b/node/NodeConfig.hpp
index 5caf18ab..5c412c9b 100644
--- a/node/NodeConfig.hpp
+++ b/node/NodeConfig.hpp
@@ -81,13 +81,7 @@ public:
/**
* Call whack() on all networks' tap devices
*/
- inline void whackAllTaps()
- {
- std::vector< SharedPtr<Network> > nwlist;
- Mutex::Lock _l(_networks_m);
- for(std::map< uint64_t,SharedPtr<Network> >::const_iterator n(_networks.begin());n!=_networks.end();++n)
- n->second->tap().whack();
- }
+ void whackAllTaps();
/**
* @param nwid Network ID