Subject: ping(8): echo reply to loopback interface
To: None <tech-net@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-net
Date: 06/06/2001 20:25:55
this was pointed out by Tomio Narita (cc'ed).
ping(8) transmits echo reply to loopback interface, to clear
route cache on iproute variable on ip_output().
however, as raw_ip.c:rip_output() passes inp->inp_route to ip_output(),
the effort is now meaningless on netbsd. what we should do on icmp
redirect case is rip_ctlinput() - to point to the new /32 route by
inp->inp_route - and there's no thing ping(8) can do. are we correct?
itojun