From 138e264f3812b506552765727a4c2510ddd9bcc8 Mon Sep 17 00:00:00 2001 From: Joseph Mingrone Date: Sat, 1 Dec 2018 15:46:07 -0400 Subject: [PATCH] Update check to determine if dest. host should mean local rep. --- zap | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zap b/zap index 0ae3843..098e60c 100755 --- a/zap +++ b/zap @@ -146,9 +146,7 @@ val_dest () { ds=${rest##*:} # dataset # TODO: there other ways to express ::1, but ignore them for now - if [ "$host" = "localhost" ] || \ - [ "$host" = "::1" ] || \ - echo "$host" | grep -Eq "$ipv4llptn"; then + if [ "$host" = "localhost" ] || echo "$host" | grep -Eq "$iplbptn"; then host="" fi