bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] bug in ping: ip->ip_src and ip->ip_dst hold the same val


From: Sam Halliday
Subject: [bug-inetutils] bug in ping: ip->ip_src and ip->ip_dst hold the same value
Date: Wed, 20 Aug 2003 13:53:46 +0100

hi there,

in the file
 ping/ping_echo.c
(from inetutils-1.4.2) lines 422 & 423 print out the values of the source and
destination IP addresses for the current ping when the -v flag is given on the
command line (and in my case ICMP_HOST_UNREACH existed).

i was recently pinging a machine on my local network and found that the printed
source and destination IP addresses were the same (they are most certainly not),
i thought this might have been a problem with my setup, but testing with the
(BSD??) netkit-base release of ping (which i see this code is clearly from), i
noticed that it works correctly. unfortunately i was not able to find or fix
this problem as i cannot even see where ip->ip_dst is being set anywhere in the
code, but it is clear that there is a problem somewhere. is this bug easily
fixed?

cheers,
Sam




reply via email to

[Prev in Thread] Current Thread [Next in Thread]