From: Marcin Siodelski Date: Thu, 10 Oct 2013 15:28:00 +0000 (+0200) Subject: [3183] Corrected a bug where microsecs timeout was passed as sec timeout. X-Git-Tag: bind10-1.2.0beta1-release~102^2~36^2~1^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2838c0769e219dbd2c8a479efe87f9bfdb4da8e9;p=thirdparty%2Fkea.git [3183] Corrected a bug where microsecs timeout was passed as sec timeout. --- diff --git a/tests/tools/perfdhcp/test_control.cc b/tests/tools/perfdhcp/test_control.cc index 1b127be739..d94f032509 100644 --- a/tests/tools/perfdhcp/test_control.cc +++ b/tests/tools/perfdhcp/test_control.cc @@ -1134,7 +1134,7 @@ TestControl::receivePackets(const TestControlSocket& socket) { if (CommandOptions::instance().getIpVersion() == 4) { Pkt4Ptr pkt4; try { - pkt4 = IfaceMgr::instance().receive4(getCurrentTimeout()); + pkt4 = IfaceMgr::instance().receive4(0, getCurrentTimeout()); } catch (const Exception& e) { std::cerr << "Failed to receive DHCPv4 packet: " << e.what() << std::endl; @@ -1152,7 +1152,7 @@ TestControl::receivePackets(const TestControlSocket& socket) { } else if (CommandOptions::instance().getIpVersion() == 6) { Pkt6Ptr pkt6; try { - pkt6 = IfaceMgr::instance().receive6(getCurrentTimeout()); + pkt6 = IfaceMgr::instance().receive6(0, getCurrentTimeout()); } catch (const Exception& e) { std::cerr << "Failed to receive DHCPv6 packet: " << e.what() << std::endl;