diff options
Diffstat (limited to 'src/lib/dhcpsrv/lease.h')
-rw-r--r-- | src/lib/dhcpsrv/lease.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dhcpsrv/lease.h b/src/lib/dhcpsrv/lease.h index 3b4f041e0f..c09958d014 100644 --- a/src/lib/dhcpsrv/lease.h +++ b/src/lib/dhcpsrv/lease.h @@ -422,7 +422,7 @@ struct Lease6 : public Lease { /// @brief Lease type /// /// One of normal address, temporary address, or prefix. - Type type_; + Lease::Type type_; /// @brief IPv6 prefix length /// @@ -459,7 +459,7 @@ struct Lease6 : public Lease { /// @param subnet_id A Subnet identifier. /// @param hwaddr hardware/MAC address (optional) /// @param prefixlen An address prefix length (optional, defaults to 128) - Lease6(Type type, const isc::asiolink::IOAddress& addr, DuidPtr duid, + Lease6(Lease::Type type, const isc::asiolink::IOAddress& addr, DuidPtr duid, uint32_t iaid, uint32_t preferred, uint32_t valid, uint32_t t1, uint32_t t2, SubnetID subnet_id, const HWAddrPtr& hwaddr = HWAddrPtr(), uint8_t prefixlen = 128); @@ -480,7 +480,7 @@ struct Lease6 : public Lease { /// @param hostname FQDN of the client which gets the lease. /// @param hwaddr hardware address (MAC), may be NULL /// @param prefixlen An address prefix length. - Lease6(Type type, const isc::asiolink::IOAddress& addr, DuidPtr duid, + Lease6(Lease::Type type, const isc::asiolink::IOAddress& addr, DuidPtr duid, uint32_t iaid, uint32_t preferred, uint32_t valid, uint32_t t1, uint32_t t2, SubnetID subnet_id, const bool fqdn_fwd, const bool fqdn_rev, const std::string& hostname, |