aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2023-10-23 17:33:45 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2023-10-30 17:12:46 +0100
commit656354b818dbd85f6997b07702825ea14844e541 (patch)
tree195763e36eb72128478cf3f9d182f2fae7abb4c5
parent1d3e48febf0c5f981fc71b0aa7a6293b8978daa3 (diff)
vlr_sgs: fix VTY setting for SGs counter.
When trying to modify the value of an SGs counter (eg. ns11), then the setting is never stored. The reason for this is that OsmoMSC uses the wrong string table to compare the user input. Related: OS#6008 Change-Id: I0358c1ec0026c37fda6db1f3af3145393df25cfd
-rw-r--r--include/osmocom/msc/vlr_sgs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/msc/vlr_sgs.h b/include/osmocom/msc/vlr_sgs.h
index 723144932..aade5d342 100644
--- a/include/osmocom/msc/vlr_sgs.h
+++ b/include/osmocom/msc/vlr_sgs.h
@@ -69,7 +69,7 @@ static inline const char *vlr_sgs_state_timer_name(enum vlr_sgs_state_tmr Ts)
extern const struct value_string sgs_state_counter_names[];
static inline const char *vlr_sgs_state_counter_name(enum vlr_sgs_state_ctr Ns)
{
- return get_value_string(sgs_state_timer_names, Ns);
+ return get_value_string(sgs_state_counter_names, Ns);
}
/* This callback function is called when an SGs location update is complete */