Expose relay policy in node settings.

This commit is contained in:
Adam Ierymenko 2016-11-21 15:35:18 -08:00
parent d159e5ca44
commit 97d915b06c
3 changed files with 18 additions and 7 deletions

View file

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