Browse Source

[master] Removing error in calling the IOAddress constructor in unit test.

Obvious error. Committing on my own discretion.
Marcin Siodelski 10 years ago
parent
commit
3b23408618
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc

+ 1 - 1
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc

@@ -1334,7 +1334,7 @@ TEST_F(AllocEngine4Test, reservedHostname) {
 
     // Try to allocate a lease.
     AllocEngine::ClientContext4 ctx(subnet_, ClientIdPtr(), hwaddr_,
-                                    IOAddress::IOAddress("192.0.2.109"), false, false,
+                                    IOAddress("192.0.2.109"), false, false,
                                     "foo.example.org", true);
     AllocEngine::findReservation(ctx);
     Lease4Ptr allocated_lease = engine.allocateLease4(ctx);