]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5087] Removed the getCode() == DHO_DOMAIN_SEARCH check
authorFrancis Dupont <fdupont@isc.org>
Wed, 19 Apr 2017 12:32:51 +0000 (14:32 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 19 Apr 2017 12:32:51 +0000 (14:32 +0200)
src/lib/dhcp/option_definition.cc

index 835be4f2b125a1752cc7b92e0cd02b068229e4a8..9a66fd549da31ac873f8ad8f5c82e7c5a6daad8b 100644 (file)
@@ -858,8 +858,7 @@ OptionDefinition::factorySpecialFormatOption(Option::Universe u,
     } else {
         if ((getCode() == DHO_FQDN) && haveFqdn4Format()) {
             return (OptionPtr(new Option4ClientFqdn(begin, end)));
-        } else if ((getCode() == DHO_DOMAIN_SEARCH) &&
-                   haveCompressedFqdnListFormat()) {
+        } else if (haveCompressedFqdnListFormat()) {
             return (factoryFqdnList(Option::V4, begin, end));
         } else if ((getCode() == DHO_VIVCO_SUBOPTIONS) &&
                    haveVendorClass4Format()) {