]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[418-cb_cmds-embedded-commands] Fixed the pd pool methods
authorFrancis Dupont <fdupont@isc.org>
Sat, 13 Jul 2019 05:36:36 +0000 (07:36 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 12 Aug 2019 13:04:30 +0000 (09:04 -0400)
src/lib/dhcpsrv/config_backend_pool_dhcp6.cc

index 82f9f6c06ebde07f2cf7665e44eb61c4fd29af8a..6cb6c74e2e2a0f093d4aee222adaae4a9c2561ed 100644 (file)
@@ -305,7 +305,7 @@ ConfigBackendPoolDHCPv6::createUpdateOption6(const BackendSelector& backend_sele
                                              const asiolink::IOAddress& pd_pool_prefix,
                                              const uint8_t pd_pool_prefix_length,
                                              const OptionDescriptorPtr& option) {
-    createUpdateDeleteProperty<void, const IOAddress&, const IOAddress&,
+    createUpdateDeleteProperty<void, const IOAddress&, const uint8_t,
                                const OptionDescriptorPtr&>
         (&ConfigBackendDHCPv6::createUpdateOption6, backend_selector,
          server_selector, pd_pool_prefix, pd_pool_prefix_length, option);
@@ -448,7 +448,7 @@ ConfigBackendPoolDHCPv6::deleteOption6(const BackendSelector& backend_selector,
                                        const uint8_t pd_pool_prefix_length,
                                        const uint16_t code,
                                        const std::string& space) {
-    return (createUpdateDeleteProperty<uint64_t, const IOAddress&, const IOAddress&,
+    return (createUpdateDeleteProperty<uint64_t, const IOAddress&, const uint8_t,
                                        uint16_t, const std::string&>
             (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector,
              pd_pool_prefix, pd_pool_prefix_length, code, space));