lynxis lazus has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmocore/+/24684 )
Change subject: gprs_ns2_vc_fsm: reset the ALIVE response time when stopping
test
......................................................................
gprs_ns2_vc_fsm: reset the ALIVE response time when stopping test
Prevent showing a response time when the NSVC has failed.
Related: OS#5089
Change-Id: I5435077d35ff1ae3d743ea1b1b8ace7f0fb913cf
---
M src/gb/gprs_ns2_vc_fsm.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/84/24684/1
diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c
index 70258cc..05118b2 100644
--- a/src/gb/gprs_ns2_vc_fsm.c
+++ b/src/gb/gprs_ns2_vc_fsm.c
@@ -181,6 +181,7 @@
static void stop_test_procedure(struct gprs_ns2_vc_priv *priv)
{
+ osmo_stat_item_set(osmo_stat_item_group_get_item(priv->nsvc->statg,
NS_STAT_ALIVE_DELAY), 0);
osmo_timer_del(&priv->alive.timer);
}
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/24684
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I5435077d35ff1ae3d743ea1b1b8ace7f0fb913cf
Gerrit-Change-Number: 24684
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-MessageType: newchange