// http://www.boost.org/LICENSE_1_0.txt)
#include "icmp/icmppinger.h"
+#include <errno.h>
+#include <sys/socket.h>
+
#include <istream>
#include <ostream>
!select_source_network_interface( source_network_interface ) )
{
GlobalLogger.error() << "Error: could not bind the socket "
- "with the local interface." << ::strerror( errno ) << endl;
+ << "with the local interface. " << ::strerror( errno ) << endl;
}
// Create "unique" identifier
if ( ret == -1 )
{
GlobalLogger.error() << "Error: could not bind pinger to interface "
- << source_network_interface << endl;
+ << source_network_interface << endl;
return false;
}