Allow specifying interface for IPv6 addresses

This commit is contained in:
Gustaf Alhäll 2023-11-11 14:12:51 +01:00
parent 55444cf204
commit c6cd14c156
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD

View file

@ -11947,7 +11947,7 @@ static void M_HandleConnectIP(INT32 choice)
// Rudimentary number and period enforcing - also allows letters so hostnames can be used instead
// and square brackets for RFC 2732 IPv6 addresses
if ((choice >= '-' && choice <= ':') ||
(choice == '[' || choice == ']') ||
(choice == '[' || choice == ']' || choice == '%') ||
(choice >= 'A' && choice <= 'Z') ||
(choice >= 'a' && choice <= 'z'))
{