summaryrefslogtreecommitdiff
path: root/node/NodeConfig.cpp
diff options
context:
space:
mode:
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() : "-"));
}