From 4380f94cf2154d4d7670154e25508f1bfd1df70e Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 18 Jan 2021 17:10:51 +0100 Subject: gbproxy: Define and use help string for gbproxy Change-Id: Ic9336c83147903e5af6622179f9394130f969a77 --- src/gbproxy/gb_proxy_vty.c | 7 ++++--- 1 file 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 #include +#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; -- cgit v1.2.3