shell function ns: Update to match SGSN output

This is compatible with the old vty output
This commit is contained in:
Keith Whyte 2021-11-12 03:06:57 +01:00
parent 87713ca071
commit 765196882d

View file

@ -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 () {