Module: sip-router Branch: master Commit: c9de09b99b417aebb8fe84d44dec6c1bff1d8849 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c9de09b9...
Author: Klaus Darilion klaus.mailinglists@pernau.at Committer: Klaus Darilion klaus.mailinglists@pernau.at Date: Mon Jan 7 16:22:38 2013 +0100
core: when printing the listening sockets on startup print also the advertise-port
---
socket_info.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/socket_info.c b/socket_info.c index 9defb2b..f865f43 100644 --- a/socket_info.c +++ b/socket_info.c @@ -2018,7 +2018,7 @@ void print_all_socket_lists() si->flags & SI_IS_MCAST ? " mcast" : "", si->flags & SI_IS_MHOMED? " mhomed" : ""); if (si->useinfo.name.s) - printf(" advertise %s", si->useinfo.name.s); + printf(" advertise %s:%d", si->useinfo.name.s, si->useinfo.port_no); printf("\n"); } }