Change in osmo-gbproxy[master]: gbproxy: Increase correct counter when BSSGP decode from SGSN fails

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Tue Nov 2 13:36:28 UTC 2021


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/26063 )


Change subject: gbproxy: Increase correct counter when BSSGP decode from SGSN fails
......................................................................

gbproxy: Increase correct counter when BSSGP decode from SGSN fails

Change-Id: I8936cee105c933987c9af1fac3c91dc26864325b
---
M src/gb_proxy.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gbproxy refs/changes/63/26063/1

diff --git a/src/gb_proxy.c b/src/gb_proxy.c
index 066d262..ca8f998 100644
--- a/src/gb_proxy.c
+++ b/src/gb_proxy.c
@@ -578,7 +578,7 @@
 
 	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 */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gbproxy/+/26063
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: I8936cee105c933987c9af1fac3c91dc26864325b
Gerrit-Change-Number: 26063
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211102/23352b1c/attachment.htm>


More information about the gerrit-log mailing list