]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3149] Compilation fix
authorTomek Mrugalski <tomasz@isc.org>
Wed, 18 Sep 2013 13:49:48 +0000 (15:49 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 18 Sep 2013 13:49:48 +0000 (15:49 +0200)
src/lib/dhcpsrv/alloc_engine.cc

index dfe3641cb1383ede601259a762b253d70e897bf5..8418ddcbcf6e0b86eb354716a41ae5746661c09e 100644 (file)
@@ -177,7 +177,7 @@ AllocEngine::AllocEngine(AllocType engine_type, unsigned int attempts,
                          bool ipv6)
     :attempts_(attempts) {
 
-    Pool::PoolType pool_type = ipv6?Pool::TYPE_IA:Pool::TYPE_V4;
+    Lease::Type pool_type = ipv6?Lease::TYPE_NA:Lease::TYPE_V4;
 
     switch (engine_type) {
     case ALLOC_ITERATIVE: