gbproxy: Increase correct counter when BSSGP decode from SGSN fails

Change-Id: I8936cee105c933987c9af1fac3c91dc26864325b
This commit is contained in:
Daniel Willmann 2021-11-02 11:55:06 +01:00
parent 22311804e9
commit cfb6f17f51
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ static int gbprox_rx_ptp_from_sgsn(struct gbproxy_nse *nse, struct msgb *msg, ui
rc = gbproxy_decode_bssgp(bgph, msgb_bssgp_len(msg), &tp, log_pfx);
if (rc < 0) {
rate_ctr_inc(rate_ctr_group_get_ctr(nse->cfg->ctrg, GBPROX_GLOB_CTR_PROTO_ERR_BSS));
rate_ctr_inc(rate_ctr_group_get_ctr(nse->cfg->ctrg, GBPROX_GLOB_CTR_PROTO_ERR_SGSN));
return tx_status_from_tlvp(nse, rc, msg);
}
/* hack to get both msg + tlv_parsed passed via osmo_fsm_inst_dispatch */