From: Marcin Siodelski Date: Fri, 13 Mar 2015 17:48:34 +0000 (+0100) Subject: [master] Removing error in calling the IOAddress constructor in unit test. X-Git-Tag: trac3764_base~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b234086186dadba52fcc654b6641765fbbf281f;p=thirdparty%2Fkea.git [master] Removing error in calling the IOAddress constructor in unit test. Obvious error. Committing on my own discretion. --- diff --git a/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc b/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc index eb59b44d2d..56b19104dc 100644 --- a/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc +++ b/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);