From 3cb43f112662ba3f9d2fc7152dfa1639401b1491 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Sat, 20 Jul 2019 16:32:08 +0200 Subject: [PATCH] [470-server-tag-get-command] Copied server-tag-get comments fro libprocess --- src/bin/dhcp4/ctrl_dhcp4_srv.h | 11 +++++------ src/bin/dhcp6/ctrl_dhcp6_srv.h | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.h b/src/bin/dhcp4/ctrl_dhcp4_srv.h index e16aefa223..ae8095c2a7 100644 --- a/src/bin/dhcp4/ctrl_dhcp4_srv.h +++ b/src/bin/dhcp4/ctrl_dhcp4_srv.h @@ -292,15 +292,14 @@ private: commandLeasesReclaimHandler(const std::string& command, isc::data::ConstElementPtr args); - /// @brief Handler for processing 'server-tag-get' command + /// @brief handler for server-tag-get command /// - /// This handler processes server-tag-get command, which retrieves + /// This method handles the server-tag-get command, which retrieves /// the current server tag and returns it in response. /// - /// @param command (parameter ignored) - /// @param args { "server-tag": "" } argument map. - /// - /// @return status of the command + /// @param command (ignored) + /// @param args (ignored) + /// @return current configuration wrapped in a response isc::data::ConstElementPtr commandServerTagGetHandler(const std::string& command, isc::data::ConstElementPtr args); diff --git a/src/bin/dhcp6/ctrl_dhcp6_srv.h b/src/bin/dhcp6/ctrl_dhcp6_srv.h index 839a8ad33c..83a2d29ab4 100644 --- a/src/bin/dhcp6/ctrl_dhcp6_srv.h +++ b/src/bin/dhcp6/ctrl_dhcp6_srv.h @@ -291,15 +291,14 @@ private: commandLeasesReclaimHandler(const std::string& command, isc::data::ConstElementPtr args); - /// @brief Handler for processing 'server-tag-get' command + /// @brief handler for server-tag-get command /// - /// This handler processes server-tag-get command, which retrieves + /// This method handles the server-tag-get command, which retrieves /// the current server tag and returns it in response. /// - /// @param command (parameter ignored) - /// @param args { "server-tag": "" } argument map. - /// - /// @return status of the command + /// @param command (ignored) + /// @param args (ignored) + /// @return current configuration wrapped in a response isc::data::ConstElementPtr commandServerTagGetHandler(const std::string& command, isc::data::ConstElementPtr args); -- 2.47.2