Module: sip-router Branch: master Commit: 1c715b1a2a66a4a15d1a8def33ef369212712bb1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1c715b1a...
Author: Ovidiu Sas osas@voipembedded.com Committer: Ovidiu Sas osas@voipembedded.com Date: Thu Jun 12 12:46:39 2014 -0400
core: fix crash related to core sockets_list command - reported by Nuno Reis nreis@wavecom.pt
---
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,