Skip to content

Commit

Permalink
Disable dns resolve for host
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonsm committed Jul 1, 2020
1 parent e3f91a7 commit 9841515
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions trunk/user/wing/wing
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ start()
HOST=$2
PORT=
fi
if ! expr match $HOST [0-9.]*$ > /dev/null; then
PING=`ping $HOST -c 1 -w 1` 2> /dev/null
[ ! -z "$PING" ] && HOST=`echo $PING | sed "1{s/[^(]*(//;s/).*//;q}"`
fi

# trojan
if [ -z $3 ]; then
Expand Down

0 comments on commit 9841515

Please sign in to comment.