Browse Source

[2765] Fix an order of parameters passed to the SocketInfo constructor.

Marcin Siodelski 11 years ago
parent
commit
331b10dc06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/tools/perfdhcp/test_control.cc

+ 1 - 1
tests/tools/perfdhcp/test_control.cc

@@ -47,7 +47,7 @@ namespace perfdhcp {
 bool TestControl::interrupted_ = false;
 
 TestControl::TestControlSocket::TestControlSocket(const int socket) :
-    SocketInfo(socket, asiolink::IOAddress("127.0.0.1"), 0),
+    SocketInfo(asiolink::IOAddress("127.0.0.1"), 0, socket),
     ifindex_(0), valid_(true) {
     try {
         initSocketData();