" \"hooks-libraries\": [ ],\n"
" \"host-reservation-identifiers\": [ \"hw-address\", \"duid\", \"circuit-id\", \"client-id\" ],\n"
" \"interfaces-config\": {\n"
-" \"interfaces\": [ \"*\" ]\n"
+" \"interfaces\": [ \"*\" ],\n"
+" \"re-detect\": false\n"
" },\n"
" \"lease-database\": {\n"
" \"type\": \"memfile\"\n"
" \"hooks-libraries\": [ ],\n"
" \"host-reservation-identifiers\": [ \"hw-address\", \"duid\", \"circuit-id\", \"client-id\" ],\n"
" \"interfaces-config\": {\n"
-" \"interfaces\": [ \"*\" ]\n"
+" \"interfaces\": [ \"*\" ],\n"
+" \"re-detect\": false\n"
" },\n"
" \"lease-database\": {\n"
" \"type\": \"memfile\"\n"
TEST_P(Dhcp4GetConfigTest, run) {
// configurations have not been extracted yet
if (max_config_counter == 0) {
- std::cout << "#### max_config_counter=0, aborting" << std::endl;
return;
}
/// Define the parametrized test loop
INSTANTIATE_TEST_CASE_P(Dhcp4GetConfigTest, Dhcp4GetConfigTest,
- ::testing::Range(0UL, max_config_counter));
+ ::testing::Range(static_cast<size_t>(0), max_config_counter));
};
conn.start(ClientConnection::SocketPath(unixSocketFilePath()),
ClientConnection::ControlCommand(command),
[this, &handler_invoked](const boost::system::error_code& ec,
- const ConstJSONFeedPtr& feed) {
+ const ConstJSONFeedPtr& /*feed*/) {
// Indicate that the callback has been invoked to break the loop
// below.
handler_invoked = true;
conn.start(ClientConnection::SocketPath(unixSocketFilePath()),
ClientConnection::ControlCommand(command),
[this, &handler_invoked](const boost::system::error_code& ec,
- const ConstJSONFeedPtr& feed) {
+ const ConstJSONFeedPtr& /*feed*/) {
handler_invoked = true;
ASSERT_TRUE(ec);
});