]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3496] Removed the dubious line of code
authorFrancis Dupont <fdupont@isc.org>
Wed, 7 Aug 2024 08:15:57 +0000 (10:15 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 22 Aug 2024 15:01:32 +0000 (17:01 +0200)
src/lib/dhcp/libdhcp++.cc

index 32ee134f37fdec3270995fbd5eabed73687476f8..3f74a156f4c38ef769b84df40f787c0b359fc32f 100644 (file)
@@ -669,7 +669,6 @@ LibDHCP::unpackOptions4(const OptionBuffer& buf, const string& option_space,
                       " is implemented");
         } else if (num_defs == 0) {
             opt = OptionPtr(new Option(Option::V4, opt_type, obuf));
-            opt->setEncapsulatedSpace(DHCP4_OPTION_SPACE);
         } else {
             try {
                 // The option definition has been found. Use it to create