Browse code

core: Fix label for RPC command ("proto" -> "port")

Sven Neuhaus authored on 29/09/2015 13:26:45
Showing 1 changed files
... ...
@@ -925,7 +925,7 @@ static void core_sockets_list(rpc_t* rpc, void* c)
925 925
 					rpc->struct_add(ha, "ss",
926 926
 						"address", ai->address_str.s);
927 927
 				rpc->struct_add(ha, "sss",
928
-						"proto", si->port_no_str.s,
928
+						"port", si->port_no_str.s,
929 929
 						"mcast", si->flags & SI_IS_MCAST ? "yes" : "no",
930 930
 						"mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no");
931 931
 			} else {
... ...
@@ -939,7 +939,7 @@ static void core_sockets_list(rpc_t* rpc, void* c)
939 939
 					rpc->struct_add(ha, "s",
940 940
 						"ipaddress", si->address_str.s);
941 941
 				rpc->struct_add(ha, "sss",
942
-						"proto", si->port_no_str.s,
942
+						"port", si->port_no_str.s,
943 943
 						"mcast", si->flags & SI_IS_MCAST ? "yes" : "no",
944 944
 						"mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no");
945 945
 			}