diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-04 22:14:46 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-08 07:14:07 +0800 |
commit | 0037badb0250524489a67b33cf2670bb9180ad00 (patch) | |
tree | db3b8e6552d2b6d855f835046b89f437bdf10848 /openbsc/src | |
parent | 054efe1ef26cd44ac20f0b6f9d1687bf20418e6b (diff) |
mgcp: Fix the order of the arguments...
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/mgcp/mgcp_network.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c index 77f24e878..95558dc78 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); } |