Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-atalk.c packet-bgp.c packet-eigrp.c p

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: Sun, 21 Jan 2001 21:33:48 -0600 (CST)
guy         2001/01/21 21:33:47 CST

  Modified files:
    .                    packet-atalk.c packet-bgp.c 
                         packet-eigrp.c packet-hsrp.c 
                         packet-igrp.c packet-ip.c packet-ip.h 
                         packet-ncp.c packet-ospf.c packet-pim.c 
                         packet-tcp.c packet-udp.c packet-vrrp.c 
                         packet-vtp.c 
  Log:
  Remove more "CHECK_DISPLAY_AS_DATA()" calls and "pinfo->current_proto ="
  statements.
  
  Move the setting of the Protocol column in various dissectors before
  anything is fetched from the packet, and also clear the Info column at
  that point in those and some other dissectors, so that if an exception
  is thrown, the columns don't reflect the previous protocol.
  
  Make the IP dissector static, as it's called only via dissector tables
  or dissector handles.  Also make the "dissect the TOS field as the
  DiffServ DS field" flag static, as it's not referred to outside of
  "packet-ip.c".
  
  In the NCP dissector, refer to the port type through "pinfo" rather than
  through the global "pi", as it's a tvbuffified dissector.
  
  Revision  Changes    Path
  1.50      +17 -24    ethereal/packet-atalk.c
  1.33      +3 -3      ethereal/packet-bgp.c
  1.12      +11 -12    ethereal/packet-eigrp.c
  1.16      +3 -5      ethereal/packet-hsrp.c
  1.5       +7 -9      ethereal/packet-igrp.c
  1.122     +3 -15     ethereal/packet-ip.c
  1.17      +1 -2      ethereal/packet-ip.h
  1.47      +3 -6      ethereal/packet-ncp.c
  1.36      +5 -6      ethereal/packet-ospf.c
  1.23      +1 -5      ethereal/packet-pim.c
  1.98      +1 -5      ethereal/packet-tcp.c
  1.86      +5 -6      ethereal/packet-udp.c
  1.14      +1 -5      ethereal/packet-vrrp.c
  1.11      +1 -5      ethereal/packet-vtp.c