Date: Sat, 7 Jul 2001 12:09:21 -0700 (PDT) From: Matt Jacob <mjacob@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ping ping.c Message-ID: <200107071909.f67J9MX29168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mjacob 2001/07/07 12:09:21 PDT
Modified files:
sbin/ping ping.c
Log:
Ian Dowse writes:
The original code was certainly broken; it knows that whereto is
to be used for a sockaddr_in, so it should be declared as such.
To support multiple protocols, there is also a sockaddr_storage
struct that can be used; I don't think struct sockaddr is supposed
to be used anywhere other than for casts and pointers.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
MFC after: 3 weeks
Revision Changes Path
1.59 +8 -17 src/sbin/ping/ping.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107071909.f67J9MX29168>
