aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-12-16 11:59:19 +0100
committerHarald Welte <laforge@osmocom.org>2020-12-16 12:05:37 +0100
commit33c3c0655b683a5dbba1e1e9c813f24c9ba61194 (patch)
treee3bef6eb3296b49985132fd652d3d83d879d9806
parent3a44d17a99fe6f35e40398baa29c13b928a0cfd0 (diff)
gors_ns2_vty: Fix saving of new NS2 timers
In I00e9023a6e7adc6ad48f4016fcaef189ac8b353e we introduced two new timers, but failed to add the related value_string[] entries. This caused the VTY code to save something like timer unknown 0x8 3 timer unknown 0x9 3 which fails to parse on re-start. Change-Id: If5cfdf1ef68d98933985406d0ac071a0a1185646
-rw-r--r--src/gb/gprs_ns2_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 87284c22..742f181d 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -103,6 +103,8 @@ static const struct value_string gprs_ns_timer_strs[] = {
{ 5, "tns-alive" },
{ 6, "tns-alive-retries" },
{ 7, "tsns-prov" },
+ { 8, "tsns-size-retries" },
+ { 9, "tsns-config-retries" },
{ 0, NULL }
};