[haiku-commits] haiku: hrev49840 - src/preferences/network

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 13 Nov 2015 21:52:29 +0100 (CET)

hrev49840 adds 1 changeset to branch 'master'
old head: 1f70a8df4b5bdbd9456186de46196699b136ad10
new head: 7460727d4a81717efa2a4691eb2bba6f49ddd63e
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=7460727d4a81+%5E1f70a8df4b5b

----------------------------------------------------------------------------

7460727d4a81: 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.

[ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49840
Commit: 7460727d4a81717efa2a4691eb2bba6f49ddd63e
URL: http://cgit.haiku-os.org/haiku/commit/?id=7460727d4a81
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Fri Nov 13 20:50:11 2015 UTC

Ticket: https://dev.haiku-os.org/ticket/12464

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 1 deletion(-)
src/preferences/network/IPAddressControl.cpp | 3 ++-

----------------------------------------------------------------------------

diff --git a/src/preferences/network/IPAddressControl.cpp
b/src/preferences/network/IPAddressControl.cpp
index 643e2c4..11619a6 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);
}


Other related posts:

  • » [haiku-commits] haiku: hrev49840 - src/preferences/network - pulkomandy