Change in osmo-sgsn[master]: gbproxy: Define and use help string for gbproxy

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Mon Jan 18 16:27:20 UTC 2021


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/22289 )


Change subject: gbproxy: Define and use help string for gbproxy
......................................................................

gbproxy: Define and use help string for gbproxy

Change-Id: Ic9336c83147903e5af6622179f9394130f969a77
---
M src/gbproxy/gb_proxy_vty.c
1 file changed, 4 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/89/22289/1

diff --git a/src/gbproxy/gb_proxy_vty.c b/src/gbproxy/gb_proxy_vty.c
index 537041e..7e9e18d 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(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_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_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;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/22289
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Ic9336c83147903e5af6622179f9394130f969a77
Gerrit-Change-Number: 22289
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210118/efc4497d/attachment.htm>


More information about the gerrit-log mailing list