mirror of
https://frontier.innolan.net/rainlance/amiga-fping.git
synced 2025-11-20 16:46:33 +00:00
Fix compatibility issue with FreeBSD (Alexandre Raynaud, Jason Harris, #39)
This commit is contained in:
@ -2,6 +2,7 @@ UNRELEASED
|
||||
* 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>
|
||||
|
||||
@ -1579,7 +1579,12 @@ int send_ping( int s, HOST_ENTRY *h )
|
||||
( 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 );
|
||||
|
||||
Reference in New Issue
Block a user