Module: kamailio Branch: master Commit: b25f7a4a87ac3518216366c81d9a7939ce24e1c7 URL: https://github.com/kamailio/kamailio/commit/b25f7a4a87ac3518216366c81d9a7939...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-09-30T08:46:33+02:00
Merge pull request #348 from neuhaus/rpc_label_fix
core: Fix label for RPC command ("proto" -> "port")
---
Modified: core_cmd.c
---
Diff: https://github.com/kamailio/kamailio/commit/b25f7a4a87ac3518216366c81d9a7939... Patch: https://github.com/kamailio/kamailio/commit/b25f7a4a87ac3518216366c81d9a7939...
---
diff --git a/core_cmd.c b/core_cmd.c index 966bcbf..21c1387 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"); }