Import updates from NetOS

This commit is contained in:
2017-02-08 12:30:20 +03:30
parent 0a841546d9
commit afb62ead1b
3 changed files with 4 additions and 3 deletions

View File

@ -44,7 +44,7 @@ SCRIPT_NAME=$(basename $0)
SRC=`echo $SCRIPT_NAME | sed -n s/multiping_//p`
FPING=`which fping` || ( echo "fping required but not found"; exit 1)
FSRC=`echo ${SRC} | sed 's/\./_/g'`
IPS=`ifconfig ${interface} | awk '/inet /{print $2}' | grep -Ev '^(10|192)\.'`
IPS=`ifconfig ${interface} | grep -v tunnel | awk '/inet /{print $2}' | grep -Ev '^(10|192|127)\.'`
if [ $# -lt 1 ]; then