IP address control: don't try to DNS resolve
* This is used when configuring the DNS client, so resolving will not work * It is supposed to be a control for entering IPs, not domain names. Fixes #12464.
This commit is contained in:
parent
1f70a8df4b
commit
7460727d4a
@ -78,7 +78,8 @@ IPAddressControl::_UpdateMark()
|
|||||||
}
|
}
|
||||||
|
|
||||||
BNetworkAddress address;
|
BNetworkAddress address;
|
||||||
bool success = address.SetTo(fFamily, Text()) == B_OK;
|
bool success = address.SetTo(fFamily, Text(), (char*)NULL,
|
||||||
|
B_NO_ADDRESS_RESOLUTION) == B_OK;
|
||||||
|
|
||||||
MarkAsInvalid(!success);
|
MarkAsInvalid(!success);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user