diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-26 14:23:22 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-26 14:23:22 -0800 |
commit | 902e03bccc105d96e34c938d2df5fc54f9ea66ff (patch) | |
tree | b2163241410624c0355bab521b17168a33b3ddfd | |
parent | ec0e8a9a4357df6316efc969edbb78347a574a5e (diff) | |
download | infinitytier-902e03bccc105d96e34c938d2df5fc54f9ea66ff.tar.gz infinitytier-902e03bccc105d96e34c938d2df5fc54f9ea66ff.zip |
build fix
-rw-r--r-- | selftest.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/selftest.cpp b/selftest.cpp index adac2f58..6054983d 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -49,7 +49,6 @@ #include "osdep/OSUtils.hpp" #include "osdep/Phy.hpp" #include "osdep/Http.hpp" -#include "osdep/BackgroundResolver.hpp" #include "osdep/PortMapper.hpp" #include "osdep/Thread.hpp" @@ -1012,23 +1011,6 @@ static int testPhy() return 0; } -static int testResolver() -{ - std::cout << "[resolver] Testing BackgroundResolver..."; std::cout.flush(); - - BackgroundResolver r("tcp-fallback.zerotier.com"); - r.resolveNow(); - r.wait(); - - std::vector<InetAddress> ips(r.get()); - for(std::vector<InetAddress>::const_iterator ip(ips.begin());ip!=ips.end();++ip) { - std::cout << ' ' << ip->toString(); - } - std::cout << std::endl; - - return 0; -} - /* static int testHttp() { @@ -1136,7 +1118,6 @@ int main(int argc,char **argv) r |= testIdentity(); r |= testCertificate(); r |= testPhy(); - r |= testResolver(); //r |= testHttp(); //*/ |