diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-31 14:09:32 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-31 14:09:32 -0700 |
| commit | b80c229d873ca51bf679ff9df90c8360dca5d0d7 (patch) | |
| tree | e5c4342b78dcb83f6c9312fff42d073e1f134ae3 /node/NodeConfig.hpp | |
| parent | 9b93141dd0f39af70a867231ce8ba7cb34cd23e6 (diff) | |
| download | infinitytier-b80c229d873ca51bf679ff9df90c8360dca5d0d7.tar.gz infinitytier-b80c229d873ca51bf679ff9df90c8360dca5d0d7.zip | |
Tons of code cleanup, refactor Network to use EthernetTapFactory, probably also fix GitHub issue #90
Diffstat (limited to 'node/NodeConfig.hpp')
| -rw-r--r-- | node/NodeConfig.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<std::string> networkTapDeviceNames() const + inline std::vector<std::string> networkTapDeviceNames() const { - std::set<std::string> tapDevs; + std::vector<std::string> tapDevs; Mutex::Lock _l(_networks_m); for(std::map< uint64_t,SharedPtr<Network> >::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; } |
