From 31db6f8f3687da87391c04cc0c0cd77c6ad888de Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 12 Apr 2016 12:49:46 -0700 Subject: NetworkConfig refactor almost done. --- node/NetworkConfig.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node/NetworkConfig.hpp') 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 -- cgit v1.2.3