From 03b955ef8cc2ffcc08d0b361c0f1d6ce057c68b8 Mon Sep 17 00:00:00 2001 From: Sven Neuhaus Date: Tue, 29 Sep 2015 15:26:45 +0200 Subject: [PATCH] core: Fix label for RPC command ("proto" -> "port") --- core_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core_cmd.c b/core_cmd.c index 966bcbfbf19..21c1387c26e 100644 --- a/core_cmd.c +++ b/core_cmd.c @@ -925,7 +925,7 @@ static void core_sockets_list(rpc_t* rpc, void* c) rpc->struct_add(ha, "ss", "address", ai->address_str.s); 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", "mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no"); } else { @@ -939,7 +939,7 @@ static void core_sockets_list(rpc_t* rpc, void* c) rpc->struct_add(ha, "s", "ipaddress", si->address_str.s); 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", "mhomed", si->flags & SI_IS_MHOMED ? "yes" : "no"); }