1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-11-29 08:13:59 +00:00

Exit if the client IP is in use

This commit is contained in:
randomshell 2020-08-23 09:39:16 +00:00
parent 812ea87ca9
commit 8a97759803

View File

@ -279,6 +279,7 @@ function newClient() {
echo ""
echo "A client with the specified IPv4 was already created, please choose another IPv4."
echo ""
exit 1
fi
done
CLIENT_WG_IPV6="${SERVER_WG_IPV6::-1}${CLIENT_DOT}"