Change in libosmocore[master]: gprs_ns2_vc_fsm: reset the ALIVE response time when stopping test

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jun 15 20:12:00 UTC 2021


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 <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210615/6ae1484d/attachment.htm>


More information about the gerrit-log mailing list