From 765196882d71047910ce67858696489fc007a311 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Fri, 12 Nov 2021 03:06:57 +0100 Subject: [PATCH] shell function ns: Update to match SGSN output This is compatible with the old vty output --- modules/rhizo_base/templates/rccn-functions.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rhizo_base/templates/rccn-functions.sh.erb b/modules/rhizo_base/templates/rccn-functions.sh.erb index d8f423d..b8eea5e 100644 --- a/modules/rhizo_base/templates/rccn-functions.sh.erb +++ b/modules/rhizo_base/templates/rccn-functions.sh.erb @@ -138,7 +138,7 @@ mmc () { } ns () { - expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show ns\r"; expect #' | grep ALIVE; + expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show ns\r"; expect #' | grep NSEI | grep ALIVE; } pp () {