HAConfig::StateConfig::pausingToString(STATE_PAUSE_NEVER));
EXPECT_EQ("once",
HAConfig::StateConfig::pausingToString(STATE_PAUSE_ONCE));
-
}
// Verifies permutations of HA+MT configuration.
// Check the URL.
EXPECT_EQ(impl->getConfig()->getThisServerConfig()->getUrl().toText(), "http://[2001:db8::1]:8080/");
-};
+}
} // end of anonymous namespace
-// Copyright (C) 2011-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2022 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
if (!socket_.is_open()) {
if (endpoint->getFamily() == AF_INET) {
socket_.open(boost::asio::ip::tcp::v4());
- }
- else {
+ } else {
socket_.open(boost::asio::ip::tcp::v6());
}
-// Copyright (C) 2011-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2022 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
if (!isopen_) {
if (endpoint->getFamily() == AF_INET) {
socket_.open(boost::asio::ip::udp::v4());
- }
- else {
+ } else {
socket_.open(boost::asio::ip::udp::v6());
}
isopen_ = true;