[Bug 1001170] Correct Endianness of DHCP "Seconds Elapsed" field
bugzilla-daemon@bugs.ecos.sourceware.org
bugzilla-daemon@bugs.ecos.sourceware.org
Thu Mar 10 05:38:00 GMT 2011
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001170
--- Comment #3 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2011-03-10 05:38:22 GMT ---
(In reply to comment #2)
> 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
Agreed. Thank you for your point. I will re-submit new patch. Or may be
Kelvin has own one?
Sergei
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ecos-patches
mailing list