Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-bootp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Oct 2001 15:56:48 -0600 (CST)
guy         2001/10/29 15:56:48 CST

  Modified files:
    .                    packet-bootp.c 
  Log:
  Stop using "tvb_get_ntohll()" and "%llX" in the BOOTP dissector, as the
  former depends on having "guint64" and the latter depends on
  "%ll[douxX]" being what's used to print 64-bit integers, and there are
  platforms on which Etheeal runs that don't have "guint64" or that don't
  use "%ll[douxX]" to print 64-bit integers.
  
  Get rid of the routines to extract 64-bit integers into "gint64"s and
  "guint64"s, as per Ronnie Sahlberg's suggestion, to discourage people
  from writing code that won't work on all platforms; they should be using
  FT_UINT64, or the routines in "int-64bit.c", instead.
  
  Revision  Changes    Path
  1.55      +5 -23     ethereal/packet-bootp.c