summaryrefslogtreecommitdiff
path: root/node/NodeConfig.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-14 20:24:19 +0000
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-14 20:24:19 +0000
commitcf4700bc26359203ceb9e9604465e805d9e5b442 (patch)
tree428d3459b23931dea93de4c383abe7ed1fd71b80 /node/NodeConfig.cpp
parent367b5439e103c0d7fe87edf971d29245206aa6f7 (diff)
downloadinfinitytier-cf4700bc26359203ceb9e9604465e805d9e5b442.tar.gz
infinitytier-cf4700bc26359203ceb9e9604465e805d9e5b442.zip
Simplify network briding modes -- we only need passive toggle and active bridge list, not three mode types. Also change isOpen to isPublic for terminology consistency.
Diffstat (limited to 'node/NodeConfig.cpp')
-rw-r--r--node/NodeConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/NodeConfig.cpp b/node/NodeConfig.cpp
index e2b1d974..b9f6b138 100644
--- a/node/NodeConfig.cpp
+++ b/node/NodeConfig.cpp
@@ -249,7 +249,7 @@ void NodeConfig::_doCommand(IpcConnection *ipcc,const char *commandLine)
((nconf) ? nconf->name().c_str() : "?"),
Network::statusString(nw->second->status()),
age,
- ((nconf) ? (nconf->isOpen() ? "public" : "private") : "?"),
+ ((nconf) ? (nconf->isPublic() ? "public" : "private") : "?"),
(dn.length() > 0) ? dn.c_str() : "?",
((tmp.length() > 0) ? tmp.c_str() : "-"));
}