Remove unnecessary echo

This commit is contained in:
randomshell 2020-07-02 10:36:05 +00:00
parent 36d209397e
commit aa583ce4b2

View file

@ -178,10 +178,8 @@ function newClient() {
source /etc/wireguard/params
if [[ $SERVER_PUB_IP =~ .*:.* ]]; then
echo "IPv6 Detected"
ENDPOINT="[$SERVER_PUB_IP]:$SERVER_PORT"
else
echo "IPv4 Detected"
ENDPOINT="$SERVER_PUB_IP:$SERVER_PORT"
fi