Skip to content

Commit

Permalink
Update check to determine if dest. host should mean local rep.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jehops committed Dec 1, 2018
1 parent 30ed998 commit 138e264
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zap
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 138e264

Please sign in to comment.