Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-syslog.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: Fri, 1 Feb 2002 21:04:07 -0600 (CST)
guy         2002/02/01 21:04:07 CST

  Modified files:
    .                    packet-syslog.c 
  Log:
  The syslog daemon parses a facility and level if the message begins with
  a '<', regardless of whether it's followed by a digit; do the same.
  
  Use "tvb_bytes_exist()" rather than "tvb_length_remaining()" in the loop
  that scans those digits.
  
  Use "tvb_ensure_length_remaining()" to get the length of the message, so
  we throw an exception if we've gone past the end of the tvbuff.
  
  Revision  Changes    Path
  1.16      +6 -5      ethereal/packet-syslog.c