commit | 0d44eb6a24578729a6996eadaa692aa017ec2e4a | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Aug 06 07:39:26 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Aug 06 07:49:57 2010 +0800 |
tree | 11340b404c8956e809527fdcb6aea46d362a6c7b | |
parent | e2170a9f0398c738749e78e1c4cd66684a0dccbd [diff] |
mgcp: Determine the proto properly...
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c index c864723..d38542c 100644 --- a/openbsc/src/mgcp/mgcp_network.c +++ b/openbsc/src/mgcp/mgcp_network.c
@@ -281,7 +281,7 @@ if (rc <= 0) return -1; - proto = &endp->bts_end.rtp ? PROTO_RTP : PROTO_RTCP; + proto = fd == &endp->bts_end.rtp ? PROTO_RTP : PROTO_RTCP; /* We have no idea who called us, maybe it is the BTS. */ /* it was the BTS... */