From a18a7a96c962b6e5c17dde6919fa46b2b2eb99b2 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 8 Jun 2018 12:02:40 +0200 Subject: bsc-nat: Avoid sending reset ack twice in a row Fixes: 38a77d0098b21e14a42a91fd83bc8179b2978555 Change-Id: Iedf45a787d5e684b2f199e8e947da434fe75cf05 --- openbsc/src/osmo-bsc_nat/bsc_nat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c index 38a29bec2..240286eff 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c @@ -1261,7 +1261,6 @@ exit: /* if we filter out the reset send an ack to the BSC */ if (parsed->bssap == 0 && parsed->gsm_type == BSS_MAP_MSG_RESET) { send_reset_ack(bsc); - send_reset_ack(bsc); } else if (parsed->ipa_proto == IPAC_PROTO_IPACCESS) { /* do we know who is handling this? */ if (msg->l2h[0] == IPAC_MSGT_ID_RESP && msgb_l2len(msg) > 2) { -- cgit v1.2.3