NetworkConfig refactor almost done.

This commit is contained in:
Adam Ierymenko 2016-04-12 12:49:46 -07:00
parent ad1e83d8b9
commit 31db6f8f36
4 changed files with 40 additions and 44 deletions

View file

@ -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