|
@@ -925,7 +925,7 @@ static void core_sockets_list(rpc_t* rpc, void* c)
|
|
rpc->struct_add(ha, "ss",
|
|
rpc->struct_add(ha, "ss",
|
|
"address", ai->address_str.s);
|
|
"address", ai->address_str.s);
|
|
rpc->struct_add(ha, "sss",
|
|
rpc->struct_add(ha, "sss",
|
|
- "proto", si->port_no_str.s,
|
|
|
|
|
|
+ "port", si->port_no_str.s,
|
|
"mcast", si->flags & SI_IS_MCAST ? "yes" : "no",
|
|
"mcast", si->flags & SI_IS_MCAST ? "yes" : "no",
|
|
"mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no");
|
|
"mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no");
|
|
} else {
|
|
} else {
|
|
@@ -939,7 +939,7 @@ static void core_sockets_list(rpc_t* rpc, void* c)
|
|
rpc->struct_add(ha, "s",
|
|
rpc->struct_add(ha, "s",
|
|
"ipaddress", si->address_str.s);
|
|
"ipaddress", si->address_str.s);
|
|
rpc->struct_add(ha, "sss",
|
|
rpc->struct_add(ha, "sss",
|
|
- "proto", si->port_no_str.s,
|
|
|
|
|
|
+ "port", si->port_no_str.s,
|
|
"mcast", si->flags & SI_IS_MCAST ? "yes" : "no",
|
|
"mcast", si->flags & SI_IS_MCAST ? "yes" : "no",
|
|
"mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no");
|
|
"mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no");
|
|
}
|
|
}
|