Better display of "enabled" protocols that used to display as unavailable.
This commit is contained in:
parent
c040a35267
commit
f09e58e034
1 changed files with 7 additions and 1 deletions
|
@ -117,6 +117,12 @@ namespace Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
#define connCapa capabilities["connectors"][connName]
|
#define connCapa capabilities["connectors"][connName]
|
||||||
|
|
||||||
|
if (connCapa.isMember("socket")){
|
||||||
|
( *ait)["online"] = "Enabled";
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (connCapa.isMember("required")){
|
if (connCapa.isMember("required")){
|
||||||
bool gotAll = true;
|
bool gotAll = true;
|
||||||
for (JSON::ObjIter it = connCapa["required"].ObjBegin(); it != connCapa["required"].ObjEnd(); ++it){
|
for (JSON::ObjIter it = connCapa["required"].ObjBegin(); it != connCapa["required"].ObjEnd(); ++it){
|
||||||
|
|
Loading…
Add table
Reference in a new issue