This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10490 )
Change subject: Logging: Log RTP IP in dotted quad format.
......................................................................
Logging: Log RTP IP in dotted quad format.
in check_rtp_create() log the IP address in
human readable dotted quad format.
Change-Id: I298b13836cc6b9c5888f931deca61132d31da035
---
M src/mncc.c
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
Stefan Sperling: Looks good to me, but someone else must approve
Harald Welte: Looks good to me, approved
diff --git a/src/mncc.c b/src/mncc.c
index b2c4abb..2ecf8d0 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -380,9 +380,10 @@
leg->base.payload_msg_type = rtp->payload_msg_type;
/* TODO.. now we can continue with the call */
+ struct in_addr net = { .s_addr = htonl(leg->base.ip) };
LOGP(DMNCC, LOGL_DEBUG,
- "RTP cnt leg(%u) ip(%u), port(%u) pt(%u) ptm(%u)\n",
- leg->callref, leg->base.ip, leg->base.port,
+ "RTP cnt leg(%u) ip(%s), port(%u) pt(%u) ptm(%u)\n",
+ leg->callref, inet_ntoa(net), leg->base.port,
leg->base.payload_type, leg->base.payload_msg_type);
stop_cmd_timer(leg, MNCC_RTP_CREATE);
continue_call(leg);
--
To view, visit https://gerrit.osmocom.org/10490
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I298b13836cc6b9c5888f931deca61132d31da035
Gerrit-Change-Number: 10490
Gerrit-PatchSet: 5
Gerrit-Owner: Keith Whyte <keith at rhizomatica.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Keith Whyte <keith at rhizomatica.org>
Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180829/fcc14b91/attachment.htm>