diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-21 15:35:18 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-21 15:35:18 -0800 |
| commit | 97d915b06c52d4bf03fd327a4365991262802475 (patch) | |
| tree | 325eb76543586d98b779310e996825567c51a882 /node | |
| parent | d159e5ca4400db6b6b1fc18d0e917fb0cca60627 (diff) | |
| download | infinitytier-97d915b06c52d4bf03fd327a4365991262802475.tar.gz infinitytier-97d915b06c52d4bf03fd327a4365991262802475.zip | |
Expose relay policy in node settings.
Diffstat (limited to 'node')
| -rw-r--r-- | node/Node.cpp | 1 |
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; } |
