From: Francis Dupont Date: Tue, 18 Apr 2017 07:28:16 +0000 (+0200) Subject: [5213] indent and untabily X-Git-Tag: trac5187_base~2^2~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b5468afac12695b743b6e94909a4c79289a9e3;p=thirdparty%2Fkea.git [5213] indent and untabily --- diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.cc b/src/bin/dhcp4/ctrl_dhcp4_srv.cc index f318ab64a1..5971134f21 100644 --- a/src/bin/dhcp4/ctrl_dhcp4_srv.cc +++ b/src/bin/dhcp4/ctrl_dhcp4_srv.cc @@ -21,6 +21,7 @@ #include using namespace isc::data; +using namespace isc::dhcp; using namespace isc::hooks; using namespace isc::config; using namespace isc::stats; @@ -40,9 +41,11 @@ namespace { void signalHandler(int signo) { // SIGHUP signals a request to reconfigure the server. if (signo == SIGHUP) { - isc::dhcp::ControlledDhcpv4Srv::processCommand("config-reload", ConstElementPtr()); + ControlledDhcpv4Srv::processCommand("config-reload", + ConstElementPtr()); } else if ((signo == SIGTERM) || (signo == SIGINT)) { - isc::dhcp::ControlledDhcpv4Srv::processCommand("shutdown", ConstElementPtr()); + ControlledDhcpv4Srv::processCommand("shutdown", + ConstElementPtr()); } } diff --git a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc index 34ab358d44..49a912ae78 100644 --- a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc +++ b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc @@ -926,8 +926,8 @@ TEST_F(CtrlChannelDhcpv4SrvTest, configTest) { // Verify the configuration was successful. EXPECT_EQ("{ \"result\": 0, \"text\": \"Configuration seems sane. " - "Control-socket, hook-libraries, and D2 configuration were " - "sanity checked, but not applied.\" }", + "Control-socket, hook-libraries, and D2 configuration were " + "sanity checked, but not applied.\" }", response); // Check that the config was not applied diff --git a/src/bin/dhcp6/ctrl_dhcp6_srv.cc b/src/bin/dhcp6/ctrl_dhcp6_srv.cc index c33aeb2e90..697eff51db 100644 --- a/src/bin/dhcp6/ctrl_dhcp6_srv.cc +++ b/src/bin/dhcp6/ctrl_dhcp6_srv.cc @@ -22,6 +22,7 @@ #include using namespace isc::config; +using namespace isc::dhcp; using namespace isc::data; using namespace isc::hooks; using namespace isc::stats; @@ -44,11 +45,11 @@ static const char* SERVER_DUID_FILE = "kea-dhcp6-serverid"; void signalHandler(int signo) { // SIGHUP signals a request to reconfigure the server. if (signo == SIGHUP) { - isc::dhcp::ControlledDhcpv6Srv::processCommand("config-reload", - ConstElementPtr()); + ControlledDhcpv6Srv::processCommand("config-reload", + ConstElementPtr()); } else if ((signo == SIGTERM) || (signo == SIGINT)) { - isc::dhcp::ControlledDhcpv6Srv::processCommand("shutdown", - ConstElementPtr()); + ControlledDhcpv6Srv::processCommand("shutdown", + ConstElementPtr()); } } diff --git a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc index 27b95e42d9..ceebdab9e3 100644 --- a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc +++ b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc @@ -650,8 +650,8 @@ TEST_F(CtrlChannelDhcpv6SrvTest, configTest) { // Verify the configuration was successful. EXPECT_EQ("{ \"result\": 0, \"text\": \"Configuration seems sane. " - "Control-socket, hook-libraries, and D2 configuration were " - "sanity checked, but not applied.\" }", + "Control-socket, hook-libraries, and D2 configuration were " + "sanity checked, but not applied.\" }", response); // Check that the config was not applied.