Module: kamailio Branch: master Commit: 91eca5aaa20f7b22488b14fdf89127daaeea47d3 URL: https://github.com/kamailio/kamailio/commit/91eca5aaa20f7b22488b14fdf89127da...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2023-10-20T10:30:58+02:00
core: print advertised proto on startup
---
Modified: src/core/socket_info.c
---
Diff: https://github.com/kamailio/kamailio/commit/91eca5aaa20f7b22488b14fdf89127da... Patch: https://github.com/kamailio/kamailio/commit/91eca5aaa20f7b22488b14fdf89127da...
---
diff --git a/src/core/socket_info.c b/src/core/socket_info.c index c67a09b2a6b..ae2ee6f20a4 100644 --- a/src/core/socket_info.c +++ b/src/core/socket_info.c @@ -2424,8 +2424,9 @@ void print_all_socket_lists() printf(" name %s", si->sockname.s); } if(si->useinfo.name.s) { - printf(" advertise %s:%d", si->useinfo.name.s, - si->useinfo.port_no); + printf(" advertise %s:%s:%d", + get_valid_proto_name(si->useinfo.proto), + si->useinfo.name.s, si->useinfo.port_no); } printf("\n"); }