[PATCH] gb/vty: Fix the VTY node string for L_NS_NODE

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/OpenBSC@lists.osmocom.org/.

Jacob Erlbeck jerlbeck at sysmocom.de
Tue Oct 22 12:52:27 UTC 2013


Use 'config-ns' instead of plain 'ns' and append a blank after the
'#' to make the vty python test script work.

Sponsored-by: On-Waves ehf
---
 src/gb/gprs_ns_vty.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gb/gprs_ns_vty.c b/src/gb/gprs_ns_vty.c
index f33fd0b..73277f8 100644
--- a/src/gb/gprs_ns_vty.c
+++ b/src/gb/gprs_ns_vty.c
@@ -71,7 +71,7 @@ static void log_set_nsvc_filter(struct log_target *target,
 
 static struct cmd_node ns_node = {
 	L_NS_NODE,
-	"%s(ns)#",
+	"%s(config-ns)# ",
 	1,
 };
 
-- 
1.7.9.5





More information about the OpenBSC mailing list