From f1f6bba16d96660226561c49833241bdff1f4a6b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 4 Aug 2010 22:14:46 +0800 Subject: mgcp: Fix the order of the arguments... --- openbsc/src/mgcp/mgcp_network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbsc/src/mgcp') diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c index 0b777c8de..f90a623c8 100644 --- a/openbsc/src/mgcp/mgcp_network.c +++ b/openbsc/src/mgcp/mgcp_network.c @@ -94,8 +94,8 @@ int mgcp_send_dummy(struct mgcp_endpoint *endp) endp->net_rtp, buf, 1); } -static void patch_and_count(struct mgcp_rtp_state *state, int endp_no, int conn_mode, - struct sockaddr_in *addr, int payload, char *data, int len) +static void patch_and_count(struct mgcp_rtp_state *state, int payload, int conn_mode, + struct sockaddr_in *addr, int endp_no, char *data, int len) { uint16_t seq; uint32_t timestamp; @@ -119,7 +119,7 @@ static void patch_and_count(struct mgcp_rtp_state *state, int endp_no, int conn_ state->timestamp_offset = state->last_timestamp - timestamp; //state->patch = 1; LOGP(DMGCP, LOGL_NOTICE, - "The SSRC changed on %d SSRC: %u offset: %d from %s:%d in %d\n", + "The SSRC changed on 0x%x SSRC: %u offset: %d from %s:%d in %d\n", endp_no, state->ssrc, state->seq_offset, inet_ntoa(addr->sin_addr), ntohs(addr->sin_port), conn_mode); } -- cgit v1.2.3