pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-mgw/+/29583 )
Change subject: send_dummy: Use proper condition to test if conn is osmux
......................................................................
send_dummy: Use proper condition to test if conn is osmux
Change-Id: I493e7afaf8e6edb5bf975b3097fab49986d064cf
---
M src/libosmo-mgcp/mgcp_protocol.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/83/29583/1
diff --git a/src/libosmo-mgcp/mgcp_protocol.c b/src/libosmo-mgcp/mgcp_protocol.c
index 79fbc53..5493917 100644
--- a/src/libosmo-mgcp/mgcp_protocol.c
+++ b/src/libosmo-mgcp/mgcp_protocol.c
@@ -323,7 +323,7 @@
* osmux connection, send the dummy packet via OSMUX */
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);
else
mgcp_send_dummy(endp, conn);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-mgw/+/29583
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I493e7afaf8e6edb5bf975b3097fab49986d064cf
Gerrit-Change-Number: 29583
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange