BIND 10 trac3183, updated. 2838c0769e219dbd2c8a479efe87f9bfdb4da8e9 [3183] Corrected a bug where microsecs timeout was passed as sec timeout.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Oct 10 15:28:16 UTC 2013
The branch, trac3183 has been updated
via 2838c0769e219dbd2c8a479efe87f9bfdb4da8e9 (commit)
from f1094390dc096d25df6465d737974a5d6f82e6ea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2838c0769e219dbd2c8a479efe87f9bfdb4da8e9
Author: Marcin Siodelski <marcin at isc.org>
Date: Thu Oct 10 17:28:00 2013 +0200
[3183] Corrected a bug where microsecs timeout was passed as sec timeout.
-----------------------------------------------------------------------
Summary of changes:
tests/tools/perfdhcp/test_control.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/tools/perfdhcp/test_control.cc b/tests/tools/perfdhcp/test_control.cc
index 1b127be..d94f032 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;
More information about the bind10-changes
mailing list