mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Add IP address validation
This commit is contained in:
parent
9f851608e0
commit
a91aa73e52
@ -100,7 +100,6 @@ int Network::socketTypeIndex() const
|
||||
*/
|
||||
bool Network::configurationOk() const
|
||||
{
|
||||
return true;
|
||||
return port() > 0 && !QHostAddress(host()).isNull();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user