Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-mbtcp.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: Tue, 24 Apr 2001 18:22:04 -0500 (CDT)
guy         2001/04/24 18:22:04 CDT

  Modified files:
    .                    packet-mbtcp.c 
  Log:
  Clearing a column before adding text to it with "col_add_fstr()" is
  unnecessary.  Clearing it before fetching anything from the packet with
  a call that might throw an exception, however, is a Good Idea.
  
  The Modbus/TCP dissector is called from a dissector table, so it doesn't
  have to check if the protocol is enabled, or set "pinfo->current_proto"
  - that's done for it by the dissector-table code.
  
  Revision  Changes    Path
  1.3       +6 -9      ethereal/packet-mbtcp.c