diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-31 00:21:59 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-31 00:21:59 +0200 |
commit | 2b7cd9224677bff07559d3153947fe178d44c7f8 (patch) | |
tree | 9c3277840a0f0178173b5002118bc950fe3c849d /openbsc | |
parent | 8ae194b922f9a93643bfe5c49dd994707c151d5f (diff) |
mgcp: Fix the packet size... really send the data..
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libmgcp/mgcp_network.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmgcp/mgcp_network.c b/openbsc/src/libmgcp/mgcp_network.c index da3029408..94fba58c3 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); |