diff options
Diffstat (limited to 'openbsc/src/nat/bsc_nat.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 4cc6549eb..b23c3954f 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -448,10 +448,7 @@ static int forward_sccp_to_msc(struct bsc_connection *bsc, struct msgb *msg) break; case SCCP_MSG_TYPE_RLC: con = patch_sccp_src_ref_to_msc(msg, parsed, nat); - if (con) { - remove_sccp_src_ref(bsc, msg, parsed); - bsc_mgcp_clear(con); - } + remove_sccp_src_ref(bsc, msg, parsed); break; case SCCP_MSG_TYPE_UDT: /* simply forward everything */ |