]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Removing error in calling the IOAddress constructor in unit test.
authorMarcin Siodelski <marcin@isc.org>
Fri, 13 Mar 2015 17:48:34 +0000 (18:48 +0100)
committerMarcin Siodelski <marcin@isc.org>
Fri, 13 Mar 2015 17:48:34 +0000 (18:48 +0100)
Obvious error. Committing on my own discretion.

src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc

index eb59b44d2da4fadb13a128b30fb8459b381bcee9..56b19104dc2cdd37042a5e33ee84f19b2d851815 100644 (file)
@@ -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);