Module: kamailio
Branch: master
Commit: de6a35012669ad5892760c368cbd141e77bc91db
URL:
https://github.com/kamailio/kamailio/commit/de6a35012669ad5892760c368cbd141…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-16T16:48:19+02:00
corex: print address family name for rpc corex.list_sockets
---
Modified: src/modules/corex/corex_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/de6a35012669ad5892760c368cbd141…
Patch:
https://github.com/kamailio/kamailio/commit/de6a35012669ad5892760c368cbd141…
---
diff --git a/src/modules/corex/corex_rpc.c b/src/modules/corex/corex_rpc.c
index 12fd8044afc..67aabde0477 100644
--- a/src/modules/corex/corex_rpc.c
+++ b/src/modules/corex/corex_rpc.c
@@ -65,7 +65,8 @@ static void corex_rpc_list_sockets(rpc_t* rpc, void* ctx)
return;
}
- if(rpc->struct_add(th, "ss{",
+ if(rpc->struct_add(th, "sss{",
+ "AF", get_af_name(proto),
"PROTO", get_valid_proto_name(proto),
"NAME", si->name.s,
"ADDRLIST", &ih)<0)