pespin has submitted this change. ( 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(-) Approvals: Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved 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@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged