Module: sip-router
Branch: 4.1
Commit: 2198cb5d508055f495af29866045d51c1098d5cc
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2198cb5d508055f495af29866045d51c1098d5cc

Author: Ovidiu Sas <[email protected]>
Committer: Ovidiu Sas <[email protected]>
Date:   Thu Jun 12 12:46:39 2014 -0400

core: fix crash related to core sockets_list  command
 - reported by Nuno Reis <[email protected]>
(cherry picked from commit 1c715b1a2a66a4a15d1a8def33ef369212712bb1)

---

 core_cmd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core_cmd.c b/core_cmd.c
index 304c49d..52150e9 100644
--- a/core_cmd.c
+++ b/core_cmd.c
@@ -936,7 +936,7 @@ static void core_sockets_list(rpc_t* rpc, void* c)
                                                "proto", get_proto_name(proto),
                                                "address", si->name.s);
                                if (!si->flags & SI_IS_IP)
-                                       rpc->struct_add(ha, "ss",
+                                       rpc->struct_add(ha, "s",
                                                "ipaddress", si->address_str.s);
                                rpc->struct_add(ha, "sss",
                                                "proto", si->port_no_str.s,


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to