mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
mgcp: Determine the proto properly...
This commit is contained in:
@@ -281,7 +281,7 @@ static int rtp_data_bts(struct bsc_fd *fd, unsigned int what)
|
||||
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... */
|
||||
|
Reference in New Issue
Block a user