summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcp/option4_dnr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcp/option4_dnr.cc')
-rw-r--r--src/lib/dhcp/option4_dnr.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dhcp/option4_dnr.cc b/src/lib/dhcp/option4_dnr.cc
index f3985324c6..d5dab27d09 100644
--- a/src/lib/dhcp/option4_dnr.cc
+++ b/src/lib/dhcp/option4_dnr.cc
@@ -132,6 +132,8 @@ Option4Dnr::parseConfigData(const std::string& config_txt) {
const std::unordered_set<std::string> DnrInstance::FORBIDDEN_SVC_PARAMS = {"ipv4hint", "ipv6hint"};
+const std::unordered_set<uint8_t> DnrInstance::SUPPORTED_SVC_PARAMS = {1, 3, 7};
+
DnrInstance::DnrInstance(Option::Universe universe)
: universe_(universe), dnr_instance_data_length_(0), service_priority_(0),
adn_length_(0), addr_length_(0), svc_params_length_(0),