aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-04 22:14:46 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-04 22:14:46 +0800
commitf1f6bba16d96660226561c49833241bdff1f4a6b (patch)
treee134811f2177c41910455e31480282f2785b8b0c
parentaaf8301a195f3a0374aa7f14fda7af8e2097d28d (diff)
mgcp: Fix the order of the arguments...
-rw-r--r--openbsc/src/mgcp/mgcp_network.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c
index 0b777c8d..f90a623c 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);
}