summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-11-21 15:35:18 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-11-21 15:35:18 -0800
commit97d915b06c52d4bf03fd327a4365991262802475 (patch)
tree325eb76543586d98b779310e996825567c51a882 /node
parentd159e5ca4400db6b6b1fc18d0e917fb0cca60627 (diff)
downloadinfinitytier-97d915b06c52d4bf03fd327a4365991262802475.tar.gz
infinitytier-97d915b06c52d4bf03fd327a4365991262802475.zip
Expose relay policy in node settings.
Diffstat (limited to 'node')
-rw-r--r--node/Node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index 3d15f5bc..9ff7f197 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -384,6 +384,7 @@ void Node::status(ZT_NodeStatus *status) const
status->worldTimestamp = RR->topology->worldTimestamp();
status->publicIdentity = RR->publicIdentityStr.c_str();
status->secretIdentity = RR->secretIdentityStr.c_str();
+ status->relayPolicy = _relayPolicy;
status->online = _online ? 1 : 0;
}