From b80c229d873ca51bf679ff9df90c8360dca5d0d7 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 31 Jul 2014 14:09:32 -0700 Subject: Tons of code cleanup, refactor Network to use EthernetTapFactory, probably also fix GitHub issue #90 --- node/NodeConfig.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'node/NodeConfig.hpp') diff --git a/node/NodeConfig.hpp b/node/NodeConfig.hpp index ada135ac..b9bc8f5f 100644 --- a/node/NodeConfig.hpp +++ b/node/NodeConfig.hpp @@ -120,16 +120,16 @@ public: } /** - * @return Set of network tap device names from our virtual networks (not other taps on system) + * @return Sorted vector of network tap device names from our virtual networks (not other taps on system) */ - inline std::set networkTapDeviceNames() const + inline std::vector networkTapDeviceNames() const { - std::set tapDevs; + std::vector tapDevs; Mutex::Lock _l(_networks_m); for(std::map< uint64_t,SharedPtr >::const_iterator n(_networks.begin());n!=_networks.end();++n) { std::string dn(n->second->tapDeviceName()); if (dn.length()) - tapDevs.insert(dn); + tapDevs.push_back(dn); } return tapDevs; } -- cgit v1.2.3