mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Improved check of the UDP server network address for errors before accepting it.
This commit is contained in:
parent
19229bc0c3
commit
2eb04f5c86
@ -2464,7 +2464,8 @@ void Configuration::impl::on_udp_server_line_edit_editingFinished ()
|
||||
case 2: iperr = "Error between second and third number";break;
|
||||
case 3: iperr = "Error between third and fourth number";break;
|
||||
case 4: iperr = ""; break;
|
||||
default: iperr = "Unknown error n=" + n;
|
||||
case 5: iperr = "Invalid characters after IP address"; break;
|
||||
default: iperr = "Unknown error parsing network address";
|
||||
}
|
||||
if (n != 4)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user