From: Francis Dupont Date: Wed, 19 Apr 2017 12:32:51 +0000 (+0200) Subject: [5087] Removed the getCode() == DHO_DOMAIN_SEARCH check X-Git-Tag: trac5186_base~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e28caaad0e00f3d3c73a58db88ad2fa3b9da5a;p=thirdparty%2Fkea.git [5087] Removed the getCode() == DHO_DOMAIN_SEARCH check --- diff --git a/src/lib/dhcp/option_definition.cc b/src/lib/dhcp/option_definition.cc index 835be4f2b1..9a66fd549d 100644 --- a/src/lib/dhcp/option_definition.cc +++ b/src/lib/dhcp/option_definition.cc @@ -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()) {