From: Francis Dupont Date: Tue, 21 Jul 2020 11:01:07 +0000 (+0200) Subject: [#544] spelling X-Git-Tag: Kea-1.7.10~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee08e6f79040822daf0344765521b5b60051d84;p=thirdparty%2Fkea.git [#544] spelling --- diff --git a/doc/sphinx/arm/hooks-lease-cmds.rst b/doc/sphinx/arm/hooks-lease-cmds.rst index 31d0a2f853..43721c34e5 100644 --- a/doc/sphinx/arm/hooks-lease-cmds.rst +++ b/doc/sphinx/arm/hooks-lease-cmds.rst @@ -804,7 +804,7 @@ An example IPv4 lease deletion by "hw-address" is: As of Kea 1.7.9, a new parameter, "update-ddns", is supported (IPv4 and IPv6). When ```true``` it instructs the server to queue a request to kea-dhcp-ddns to -remove DNS entries after the lease is succesfully deleted if: +remove DNS entries after the lease is successfully deleted if: - DDNS updating is enabled. (i.e. "dhcp-ddns":{ "enable-updates": true"}) - The lease's hostname is not be empty. diff --git a/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc b/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc index b36a1b4988..93fc3bf3b9 100644 --- a/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc +++ b/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc @@ -5281,7 +5281,7 @@ TEST_F(LeaseCmdsTest, lease4DnsRemoveD2Enabled) { std::string hostname_; bool fqdn_fwd_; bool fqdn_rev_; - std::string udpate_ddns_; + std::string update_ddns_; bool exp_ncr_; }; @@ -5363,8 +5363,8 @@ TEST_F(LeaseCmdsTest, lease4DnsRemoveD2Enabled) { " \"arguments\": {" " \"ip-address\": \"192.0.2.8\""; - if (!scenario.udpate_ddns_.empty()) { - cmd << "," << scenario.udpate_ddns_; + if (!scenario.update_ddns_.empty()) { + cmd << "," << scenario.update_ddns_; } cmd << "}}"; @@ -5440,7 +5440,7 @@ TEST_F(LeaseCmdsTest, lease6DnsRemoveD2Enabled) { std::string hostname_; bool fqdn_fwd_; bool fqdn_rev_; - std::string udpate_ddns_; + std::string update_ddns_; bool exp_ncr_; }; @@ -5523,8 +5523,8 @@ TEST_F(LeaseCmdsTest, lease6DnsRemoveD2Enabled) { " \"subnet-id\": 66,\n" " \"ip-address\": \"2001:db8:1::8\"\n"; - if (!scenario.udpate_ddns_.empty()) { - cmd << "," << scenario.udpate_ddns_; + if (!scenario.update_ddns_.empty()) { + cmd << "," << scenario.update_ddns_; } cmd << "}}";