Parcourir la source

[3149] Compilation fix

Tomek Mrugalski il y a 11 ans
Parent
commit
b190045d32
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/dhcpsrv/alloc_engine.cc

+ 1 - 1
src/lib/dhcpsrv/alloc_engine.cc

@@ -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: