mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-29 00:06:31 +00:00
Exit if the client IP is in use
This commit is contained in:
parent
812ea87ca9
commit
8a97759803
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user