mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Exit if the client IP is in use
This commit is contained in:
parent
812ea87ca9
commit
8a97759803
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue