From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26136 invoked by alias); 9 Mar 2011 23:59:57 -0000 Received: (qmail 26128 invoked by uid 22791); 9 Mar 2011 23:59:57 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Mar 2011 23:59:53 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 26DCA2F7800A for ; Wed, 9 Mar 2011 23:59:51 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4yDJdiTeOmX2; Wed, 9 Mar 2011 23:59:49 +0000 (GMT) From: bugzilla-daemon@ecoscentric.com To: ecos-patches@ecos.sourceware.org Subject: [Issue 1001170] Correct Endianness of DHCP "Seconds Elapsed" field X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jay@systech.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugzilla.ecoscentric.com/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 09 Mar 2011 23:59:00 -0000 Message-Id: <20110309235948.E801D2F78008@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2011-03/txt/msg00011.txt.bz2 Please do not reply to this email. Use the web interface provided at: https://bugzilla.ecoscentric.com/show_bug.cgi?id=1001170 --- Comment #2 from Jay Foster 2011-03-09 23:59:47 GMT --- It also appears in bootp_support.c: show_bootp(). Depending on the implementation of htons(), cyg_current_time() may end up getting called twice. Might be better to put the result of cyg_current_time() / 100 in a temporary variable and perform htons() on that. Jay On 3/9/2011 10:26 AM, bugzilla-daemon@bugs.ecos.sourceware.org wrote: > Please do not reply to this email. Use the web interface provided at: > http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001170 > > --- Comment #1 from Sergei Gavrikov 2011-03-09 18:26:22 GMT --- > Created an attachment (id=1167) --> (https://bugzilla.ecoscentric.com/attachment.cgi?id=1167) > --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1167) > Fixed byte order for bp_secs > > diffstat /tmp/dhcp_prot.diff > ChangeLog | 5 +++++ > src/dhcp_prot.c | 2 +- > 2 files changed, 6 insertions(+), 1 deletion(-) > > Grep shows 1 actual place. Hope that's it. > -- Configure issuemail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the issue.