/// @brief Sets offer lifetime for the class.
///
- /// Will be used for the offer lifetime (may be empty if not defined)
+ /// @param offer_lft the offer lifetime assigned to the class (may be empty if not defined)
void setOfferLft(const util::Optional<uint32_t>& offer_lft) {
offer_lft_ = offer_lft;
}
/// @brief Returns offer lifetime for the class.
///
- /// @param inheritance inheritance mode to be used.
/// @return offer lifetime value
util::Optional<uint32_t> getOfferLft() const {
return (offer_lft_);
/// @brief Sets offer lifetime for the network.
///
- /// Will be used for the offer lifetime (may be empty if not defined)
+ /// @param offer_lft the offer lifetime assigned to the class (may be empty if not defined)
void setOfferLft(const util::Optional<uint32_t>& offer_lft) {
offer_lft_ = offer_lft;
}
// Verifies that AllocEngine::getOfferLft(ctx4) returns the appropriate
// lifetime value based on the context content.
-TEST_F(AllocEngine4Test, getOfferft4) {
+TEST_F(AllocEngine4Test, getOfferLft4) {
AllocEngine engine(0);
// Let's make three classes, two with offer-lifetime and one without,
// position of the data element which caused failure.
if (rcode_ != 0) {
EXPECT_TRUE(errorContainsPosition(status, "<string>"))
- << "error text:" << error_text_;
+ << "error text: " << error_text_;
}
}
#!/bin/sh
-# Copyright (C) 2022-2023 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2023 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this