commit | 29e0188bf165985ec6dc73096f11a5089ecd429c | [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 | 8f76d97e1f41b26be116cfcfa9d6a9ba47911a70 [diff] [blame] |
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... */