Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-atalk.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: Sat, 11 Nov 2000 03:18:16 -0600 (CST)
guy         2000/11/11 03:18:16 CST

  Modified files:
    .                    packet-atalk.c 
  Log:
  Don't have separate versions of "ddp_hops()" and "ddp_len()" on
  big-endian and little-endian platforms; just put "ddp.hops_len" in host
  byte order and have one version.  (This removes one usage of BIG_ENDIAN
  and LITTLE_ENDIAN from Ethereal - our redefining of them causes warnings
  on FreeBSD 3.4, so I'd like not to export them to all the dissectors if
  possible - and also fixes "ddp_hops()" to work correctly on
  little-endian machines, as the little-endian version wasn't
  byte-swapping its argument.)
  
  Revision  Changes    Path
  1.41      +11 -11    ethereal/packet-atalk.c