diff options
author | Francis Dupont <fdupont@isc.org> | 2018-11-17 15:54:32 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2018-11-20 14:43:26 +0100 |
commit | 4de2d249a930d8f4a4e3e9c45a33c56a9117eade (patch) | |
tree | b785786b4901e856e65686121878a5e0bea56881 /src/bin/dhcp4/tests/fqdn_unittest.cc | |
parent | [#182, !128] Regen flex/bison (diff) | |
download | kea-4de2d249a930d8f4a4e3e9c45a33c56a9117eade.tar.xz kea-4de2d249a930d8f4a4e3e9c45a33c56a9117eade.zip |
[182-remove-always-include-fqdn-configuration-parameter-from-d2clientconfig] Finished to remove always-include-fqdn
Diffstat (limited to 'src/bin/dhcp4/tests/fqdn_unittest.cc')
-rw-r--r-- | src/bin/dhcp4/tests/fqdn_unittest.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bin/dhcp4/tests/fqdn_unittest.cc b/src/bin/dhcp4/tests/fqdn_unittest.cc index f1f3f8e229..8246987db2 100644 --- a/src/bin/dhcp4/tests/fqdn_unittest.cc +++ b/src/bin/dhcp4/tests/fqdn_unittest.cc @@ -211,10 +211,9 @@ public: IfaceMgrTestConfig iface_mgr_test_config_; // Bit Constants for turning on and off DDNS configuration options. - static const uint16_t ALWAYS_INCLUDE_FQDN = 1; - static const uint16_t OVERRIDE_NO_UPDATE = 2; - static const uint16_t OVERRIDE_CLIENT_UPDATE = 4; - static const uint16_t REPLACE_CLIENT_NAME = 8; + static const uint16_t OVERRIDE_NO_UPDATE = 1; + static const uint16_t OVERRIDE_CLIENT_UPDATE = 2; + static const uint16_t REPLACE_CLIENT_NAME = 4; // Enum used to specify whether a client (packet) should include // the hostname option @@ -271,7 +270,6 @@ public: isc::asiolink::IOAddress("127.0.0.1"), 53001, isc::asiolink::IOAddress("0.0.0.0"), 0, 1024, dhcp_ddns::NCR_UDP, dhcp_ddns::FMT_JSON, - (mask & ALWAYS_INCLUDE_FQDN), (mask & OVERRIDE_NO_UPDATE), (mask & OVERRIDE_CLIENT_UPDATE), ((mask & REPLACE_CLIENT_NAME) ? |