aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2021-01-18 17:10:51 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2021-01-18 18:46:32 +0100
commit4380f94cf2154d4d7670154e25508f1bfd1df70e (patch)
treeb22b35986d45120d04b7286c59f1f20501986384
parent0d170d61aaecdc58c8b3e2834e12569468e0fd90 (diff)
gbproxy: Define and use help string for gbproxy
-rw-r--r--src/gbproxy/gb_proxy_vty.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gbproxy/gb_proxy_vty.c b/src/gbproxy/gb_proxy_vty.c
index 537041e72..7e9e18d3d 100644
--- a/src/gbproxy/gb_proxy_vty.c
+++ b/src/gbproxy/gb_proxy_vty.c
@@ -48,6 +48,7 @@
#include <osmocom/vty/vty.h>
#include <osmocom/vty/misc.h>
+#define GBPROXY_STR "Display information about the Gb proxy\n"
#define NRI_STR "Mapping of Network Resource Indicators to this SGSN, for SGSN pooling\n"
#define NULL_NRI_STR "Define NULL-NRI values that cause re-assignment of an MS to a different SGSN, for SGSN pooling.\n"
#define NRI_FIRST_LAST_STR "First value of the NRI value range, should not surpass the configured 'nri bitlen'.\n" \
@@ -499,7 +500,7 @@ DEFUN(logging_fltr_bvc,
}
DEFUN(show_gbproxy_bvc, show_gbproxy_bvc_cmd, "show gbproxy bvc (bss|sgsn) [stats]",
- SHOW_STR "Display information about the Gb proxy\n"
+ SHOW_STR GBPROXY_STR
"Show BSSGP Virtual Connections\n"
"Display BSS-side BVCs\n"
"Display SGSN-side BVCs\n"
@@ -523,7 +524,7 @@ DEFUN(show_gbproxy_bvc, show_gbproxy_bvc_cmd, "show gbproxy bvc (bss|sgsn) [stat
}
DEFUN(show_gbproxy_cell, show_gbproxy_cell_cmd, "show gbproxy cell [stats]",
- SHOW_STR "Display information about the Gb proxy\n"
+ SHOW_STR GBPROXY_STR
"Show GPRS Cell Information\n"
"Show statistics\n")
{
@@ -538,7 +539,7 @@ DEFUN(show_gbproxy_cell, show_gbproxy_cell_cmd, "show gbproxy cell [stats]",
}
DEFUN(show_gbproxy_links, show_gbproxy_links_cmd, "show gbproxy links",
- SHOW_STR "Display information about the Gb proxy\n" "Show logical links\n")
+ SHOW_STR GBPROXY_STR "Show logical links\n")
{
struct gbproxy_nse *nse;
int i, j;