summaryrefslogtreecommitdiff
path: root/node/NetworkConfig.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-04-12 12:49:46 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-04-12 12:49:46 -0700
commit31db6f8f3687da87391c04cc0c0cd77c6ad888de (patch)
tree83da16269bac7d92d32cbd24012b17c021dac248 /node/NetworkConfig.hpp
parentad1e83d8b9b23d82d3ab26803b687a7a0117f3c7 (diff)
downloadinfinitytier-31db6f8f3687da87391c04cc0c0cd77c6ad888de.tar.gz
infinitytier-31db6f8f3687da87391c04cc0c0cd77c6ad888de.zip
NetworkConfig refactor almost done.
Diffstat (limited to 'node/NetworkConfig.hpp')
-rw-r--r--node/NetworkConfig.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp
index c499eb48..c3cc9cd4 100644
--- a/node/NetworkConfig.hpp
+++ b/node/NetworkConfig.hpp
@@ -203,6 +203,9 @@ public:
return r;
}
+ const ZT_VirtualNetworkStaticDevice &staticDevice(unsigned int i) const { return _static[i]; }
+ unsigned int staticDeviceCount() const { return _staticCount; }
+
/**
* @param fromPeer Peer attempting to bridge other Ethernet peers onto network
* @return True if this network allows bridging