Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ldp.c packet-lmp.c packet-ospf.c pack

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: Thu, 25 Apr 2002 01:34:43 -0500 (CDT)
guy         2002/04/25 01:34:43 CDT

  Modified files:
    .                    packet-ldp.c packet-lmp.c packet-ospf.c 
                         packet-rsvp.c 
  Log:
  Use "%.10g", rather than "%f", for floating-point numbers.  That will
  display values that would fit in a 32-bit integer as integers, leaving
  out all trailing zeroes after the decimal point (and leaving out the
  decimal point if there are no digits left after the decimal point once
  trailing zeroes are removed), and will use scientific notation for small
  fractions or large numbers.
  
  Revision  Changes    Path
  1.36      +6 -6      ethereal/packet-ldp.c
  1.4       +5 -5      ethereal/packet-lmp.c
  1.61      +5 -5      ethereal/packet-ospf.c
  1.62      +15 -15    ethereal/packet-rsvp.c