osmux: Avoid processing further frames if conn not found
Other frames can come from known connections, so let's keep processing
each of them.
Change-Id: I09190140ba917dfada4b0952230b68e0f5f6d43d
diff --git a/src/libosmo-mgcp/mgcp_osmux.c b/src/libosmo-mgcp/mgcp_osmux.c
index ca446ff..a2c138d 100644
--- a/src/libosmo-mgcp/mgcp_osmux.c
+++ b/src/libosmo-mgcp/mgcp_osmux.c
@@ -394,7 +394,7 @@
/* FIXME: Get rid of CONN_ID_XXX! */
conn_bts = mgcp_conn_get_rtp(endp, CONN_ID_BTS);
if (!conn_bts)
- goto out;
+ continue;
if (!endp) {
LOGP(DLMGCP, LOGL_ERROR,
@@ -478,7 +478,7 @@
/* FIXME: Get rid of CONN_ID_XXX! */
conn_net = mgcp_conn_get_rtp(endp, CONN_ID_NET);
if (!conn_net)
- goto out;
+ continue;
if (!endp) {
LOGP(DLMGCP, LOGL_ERROR,