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, };