From 7460727d4a81717efa2a4691eb2bba6f49ddd63e Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 13 Nov 2015 21:50:11 +0100 Subject: [PATCH] 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. --- src/preferences/network/IPAddressControl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/preferences/network/IPAddressControl.cpp b/src/preferences/network/IPAddressControl.cpp index 643e2c4035..11619a6d4e 100644 --- a/src/preferences/network/IPAddressControl.cpp +++ b/src/preferences/network/IPAddressControl.cpp @@ -78,7 +78,8 @@ IPAddressControl::_UpdateMark() } 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); }