Improved check of the UDP server network address for errors before accepting it.

This commit is contained in:
Uwe Risse 2022-11-07 19:56:27 +01:00
parent 19229bc0c3
commit 2eb04f5c86

View File

@ -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)
{