Change in libosmocore[master]: gprs_ns2_vty: fixup: change dlci / nsvci order

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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Thu Dec 10 14:24:42 UTC 2020


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21655 )


Change subject: gprs_ns2_vty: fixup: change dlci / nsvci order
......................................................................

gprs_ns2_vty: fixup: change dlci / nsvci order

Change-Id: I1304df449c5109e6ab0eab0a65a3a9f3b993def3
---
M src/gb/gprs_ns2_vty2.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/55/21655/1

diff --git a/src/gb/gprs_ns2_vty2.c b/src/gb/gprs_ns2_vty2.c
index 9f2036e..9303c09 100644
--- a/src/gb/gprs_ns2_vty2.c
+++ b/src/gb/gprs_ns2_vty2.c
@@ -483,7 +483,7 @@
 };
 
 DEFUN(cfg_ns_nse_nsvc_fr, cfg_ns_nse_nsvc_fr_cmd,
-      "nsvc fr NETIF nsvci <0-65535> dlci <16-1007>",
+      "nsvc fr NETIF dlci <16-1007> nsvci <0-65535>",
       "NS Virtual Connection\n"
       "frame relay\n"
       "frame relay interface. Must be registered via fr vty\n"
@@ -497,8 +497,8 @@
 	struct gprs_ns2_vc *nsvc;
 	struct gprs_ns2_nse *nse = vty->index;
 	const char *netif = argv[0];
-	uint16_t nsvci = atoi(argv[1]);
-	uint16_t dlci = atoi(argv[2]);
+	uint16_t dlci = atoi(argv[1]);
+	uint16_t nsvci = atoi(argv[2]);
 	bool dialect_modified = false;
 	bool ll_modified = false;
 

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1304df449c5109e6ab0eab0a65a3a9f3b993def3
Gerrit-Change-Number: 21655
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201210/f85eaf68/attachment.htm>


More information about the gerrit-log mailing list