case Host::IDENT_FLEX:
// At this point the information in the packet has been unpacked into
// the various packet fields and option objects has been created.
- // Execute callouts registered for packet6_receive.
+ // Execute callouts registered for host6_identifier.
if (HooksManager::calloutsPresent(Hooks.hook_index_host6_identifier_)) {
CalloutHandlePtr callout_handle = getCalloutHandle(pkt);
CommunicationState4::CommunicationState4(const IOServicePtr& io_service,
const HAConfigPtr& config)
- : CommunicationState(io_service, config), connecting_clients_(),
- mutex_(new mutex()) {
+ : CommunicationState(io_service, config), connecting_clients_() {
}
void
CommunicationState6::CommunicationState6(const IOServicePtr& io_service,
const HAConfigPtr& config)
- : CommunicationState(io_service, config), connecting_clients_(),
- mutex_(new mutex()) {
+ : CommunicationState(io_service, config), connecting_clients_() {
}
void
/// the partner server while the servers are in communications
/// interrupted state.
ConnectingClients4 connecting_clients_;
-
- /// @brief The mutex used to protect internal state.
- const boost::scoped_ptr<std::mutex> mutex_;
};
/// @brief Pointer to the @c CommunicationState4 object.
/// the partner server while the servers are in communications
/// interrupted state.
ConnectingClients6 connecting_clients_;
-
- /// @brief The mutex used to protect internal state.
- const boost::scoped_ptr<std::mutex> mutex_;
};
/// @brief Pointer to the @c CommunicationState6 object.
LOG_ERROR(ha_logger, HA_RESET_HANDLER_FAILED)
.arg(ex.what());
}
+
+ return (0);
}
/// @brief This function is called when the library is loaded.
/// @brief Test HTTP server 2.
HttpListenerPtr listener2_;
- /// @brief Test HTTP server 2.
+ /// @brief Test HTTP server 3.
HttpListenerPtr listener3_;
/// @brief IPv4 leases to be used in the tests.