NetBSD-Bugs archive

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

Re: bin/39157: traceroute not 64 bit aware (struct timeval issue)



The following reply was made to PR bin/39157; it has been noted by GNATS.

From: Markus Mayer <mmayer%redback.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/39157: traceroute not 64 bit aware (struct timeval issue)
Date: Thu, 17 Jul 2008 09:58:08 -0700

 gnats-admin%netbsd.org@localhost wrote:
 
 >> Category:       bin
 >> Responsible:    bin-bug-people
 >> Synopsis:       traceroute not 64 bit aware (struct timeval issue)
 >> Arrival-Date:   Wed Jul 16 20:45:00 +0000 2008
 > 
 
 I looked at the diff and I am wondering if it should be
 
      outsetup.tv.tv_sec  = htonl(tp->tv_sec);
      outsetup.tv.tv_usec  = htonl(tp->tv_usec);
 
 traceroute6 and ping are using htonl/ntohl.
 
 Regards,
 -Markus
 
 -- 
 Markus Mayer
 Redback Networks
 An Ericsson Company
 (778) 373-7251
 


Home | Main Index | Thread Index | Old Index