* Fix sprint_tm buffer size crash (reported by Japheth Cleaver)
* Addded -D flag to print timestamps (Toke Høiland-Jørgensen)
* Fix fping6 build on OS X 10.8 (unknown contributor)
+ * Fix compatibility issue with FreeBSD (Alexandre Raynaud, Jason Harris, #39)
* Fping.spec: fix setuid permissions and provides fping6 (Marcus Vinicius Ferreira)
2012-09-04 David Schweikert <david@schweikert.ch>
( struct sockaddr* )&h->saddr, sizeof( FPING_SOCKADDR ) );
if( n < 0 || n != ping_pkt_size )
- {
+ if(
+ (n < 0 || n != ping_pkt_size)
+#if defined( EHOSTDOWN )
+ && errno != EHOSTDOWN
+#endif
+ ) {
if( verbose_flag || unreachable_flag )
{
printf( "%s", h->host );