- Warning 568: non-negative quantity is never less than zero.
const string &network_interface
)
{
- BOOST_ASSERT( ( PingProtocol_First <= protocol ) && ( protocol <= PingProtocol_Last ) );
+ BOOST_ASSERT( /*( PingProtocol_First <= protocol ) && */( protocol <= PingProtocol_Last ) );
BOOST_ASSERT( !network_interface.empty() );
// Ping reply timeout. Could be made a configuration variable
BOOST_ASSERT( !network_interface.empty() );
BOOST_ASSERT( !destination_address.empty() );
BOOST_ASSERT( 0 < destination_port );
- BOOST_ASSERT( (PingProtocol_First <= ping_protocol) && (ping_protocol <= PingProtocol_Last) );
+ BOOST_ASSERT( /*(PingProtocol_First <= ping_protocol) && */(ping_protocol <= PingProtocol_Last) );
BOOST_ASSERT( 0 < ping_interval_in_sec );
BOOST_ASSERT( (0 <= ping_fail_percentage_limit) && (ping_fail_percentage_limit <= 100) );
BOOST_ASSERT( !nameserver.empty() );