summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-08-31 00:21:59 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-08-31 00:21:59 +0200
commit2b7cd9224677bff07559d3153947fe178d44c7f8 (patch)
tree9c3277840a0f0178173b5002118bc950fe3c849d
parent8ae194b922f9a93643bfe5c49dd994707c151d5f (diff)
mgcp: Fix the packet size... really send the data..
-rw-r--r--openbsc/src/libmgcp/mgcp_network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmgcp/mgcp_network.c b/openbsc/src/libmgcp/mgcp_network.c
index da30294..94fba58 100644
--- a/openbsc/src/libmgcp/mgcp_network.c
+++ b/openbsc/src/libmgcp/mgcp_network.c
@@ -209,6 +209,8 @@ static int maybe_send_queue(struct mgcp_endpoint *endp,
goto cleanup;
}
+ out->l2h = msgb_put(out, 0);
+
/* Attempt to compress the samples */
rc = rtp_compress(&endp->compr_loc_state, out,
ENDPOINT_NUMBER(endp), &endp->compr_queue);