diff --git a/build_num b/build_num index 82e60c16c..d419b3ddd 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM -1 +#define BUILD_NUM 376 diff --git a/doc/ChangeLog b/doc/ChangeLog index 03e8c7fe4..639aca87d 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,15 @@ 2008-07-17 Vadim Kurland + * utils.cpp (getAddrByName): getAddrByName() works on all + platforms and gets ipv4 and ipv6 addresses as requested. It looks + like for it to work on Windows Vista machine needs to be + configured with routable ipv6 addresses. When machine only had + Link-local address on fe80:: net, even when ipv6 was enabled, + getaddrinfo sent proper dns request for AAAA record, got reply but + did not pass it back to the application. Once machine was + configured with routable ipv6 address, getaddrinfo started working + as expected. This problem was not observed on Linux and Mac OS X. + * IPv6Dialog.cpp (IPv6Dialog::DNSlookup): Added "DNS Looup" button to the IPv6 object dialog. diff --git a/src/gui/utils.cpp b/src/gui/utils.cpp index c05ae63a7..2df6fa837 100644 --- a/src/gui/utils.cpp +++ b/src/gui/utils.cpp @@ -415,17 +415,7 @@ QString getAddrByName(const QString &name, int af_type) try { if (results.size()>0) - { - list::iterator i; - for (i=results.begin(); i!=results.end(); ++i) - { - qDebug("Result: af_type=%d result->isV6()=%d result->addr=%s", - af_type, - i->isV6(), - i->toString().c_str()); - } return QString(results.front().toString().c_str()); - } } catch (FWException &e) { qDebug("utils::getAddrByName: Can not convert address to string");