From owner-cvs-all Fri May 15 17:23:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA03026 for cvs-all-outgoing; Fri, 15 May 1998 17:23:28 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA03019; Fri, 15 May 1998 17:23:27 -0700 (PDT) (envelope-from jb@FreeBSD.org) From: John Birrell Received: (from jb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA14626; Fri, 15 May 1998 17:19:28 -0700 (PDT) Date: Fri, 15 May 1998 17:19:28 -0700 (PDT) Message-Id: <199805160019.RAA14626@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ping ping.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jb 1998/05/15 17:19:28 PDT Modified files: sbin/ping ping.c Log: When a timeval is stored at the beginning of icmp_data, the fields are unaligned for access by the alpha, so copy the value to a variable that is aligned. When checking the returned data, be careful to avoid confusing the size of the icmp header with the size of a timeval. On i386 these are both 8, but on alpha, a timeval is 16 bytes. This means that a packet sent from an alpha contains 48 bytes of data, not 56 like on i386. Revision Changes Path 1.34 +27 -14 src/sbin/ping/ping.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message