send_dummy: Use proper condition to test if conn is osmux
Change-Id: I493e7afaf8e6edb5bf975b3097fab49986d064cf
This commit is contained in:
parent
2dd2b33030
commit
abb9d47c90
|
@ -323,7 +323,7 @@ error:
|
||||||
* osmux connection, send the dummy packet via OSMUX */
|
* osmux connection, send the dummy packet via OSMUX */
|
||||||
static void send_dummy(struct mgcp_endpoint *endp, struct mgcp_conn_rtp *conn)
|
static void send_dummy(struct mgcp_endpoint *endp, struct mgcp_conn_rtp *conn)
|
||||||
{
|
{
|
||||||
if (conn->osmux.state != OSMUX_STATE_DISABLED)
|
if (mgcp_conn_rtp_is_osmux(conn))
|
||||||
osmux_send_dummy(endp, conn);
|
osmux_send_dummy(endp, conn);
|
||||||
else
|
else
|
||||||
mgcp_send_dummy(endp, conn);
|
mgcp_send_dummy(endp, conn);
|
||||||
|
|
Loading…
Reference in New Issue