From 8a13cfdacee72a4af90336a329aaecb0ed38c33d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 20 Apr 2015 17:14:16 -0700 Subject: Add per-network relays to NetworkConfig. --- node/NetworkConfig.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/NetworkConfig.hpp') diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index 02c5ba3f..89d1aec5 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -147,6 +147,7 @@ public: inline const std::string &description() const throw() { return _description; } inline const std::vector &staticIps() const throw() { return _staticIps; } inline const std::vector
&activeBridges() const throw() { return _activeBridges; } + inline const std::vector< std::pair > &relays() const throw() { return _relays; } inline const CertificateOfMembership &com() const throw() { return _com; } inline bool enableBroadcast() const throw() { return _enableBroadcast; } @@ -188,6 +189,7 @@ private: std::string _description; std::vector _staticIps; std::vector
_activeBridges; + std::vector< std::pair > _relays; std::map _multicastRates; CertificateOfMembership _com; -- cgit v1.2.3