From f8a36fa773a5f24df0452921ccba6f4183db7d61 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 31 Jul 2013 10:29:43 -0400 Subject: [PATCH] Updated trap.functions --- scripts/trap.functions | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/trap.functions b/scripts/trap.functions index f962cd9..316f728 100644 --- a/scripts/trap.functions +++ b/scripts/trap.functions @@ -13,7 +13,7 @@ getDefaultIP() { if [[ -z "$routedev" ]] then - echo "" + echo "127.0.0.1" return 1 else local defipaddr=$(ip -o -4 addr show "${routedev}") @@ -24,8 +24,5 @@ getDefaultIP() { echo "${ip}" fi - - #echo "$routedev" - #echo "${ip}/${mask}" }