mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-01 11:12:31 +00:00
Remove unnecessary echo
This commit is contained in:
parent
36d209397e
commit
aa583ce4b2
@ -178,10 +178,8 @@ function newClient() {
|
|||||||
source /etc/wireguard/params
|
source /etc/wireguard/params
|
||||||
|
|
||||||
if [[ $SERVER_PUB_IP =~ .*:.* ]]; then
|
if [[ $SERVER_PUB_IP =~ .*:.* ]]; then
|
||||||
echo "IPv6 Detected"
|
|
||||||
ENDPOINT="[$SERVER_PUB_IP]:$SERVER_PORT"
|
ENDPOINT="[$SERVER_PUB_IP]:$SERVER_PORT"
|
||||||
else
|
else
|
||||||
echo "IPv4 Detected"
|
|
||||||
ENDPOINT="$SERVER_PUB_IP:$SERVER_PORT"
|
ENDPOINT="$SERVER_PUB_IP:$SERVER_PORT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user