Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-ip.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 28 Aug 1999 14:17:22 -0500 (CDT)
guy         1999/08/28 14:17:20 CDT

  Modified files:
    .                    packet-ip.c 
  Log:
  Handle unknown options in "dissect_ip_tcp_options()" better; we assume
  that the only options that contain *no* length byte are the IP and TCP
  EOL and NOP options so that we can treat unknown options as
  VARIABLE_LENGTH with a minimum of 2, and at least be able to move on to
  the next option by using the length in the option, rather than just
  reporting the unknown option and processing no options after it.
  
  Revision  Changes    Path
  1.44      +35 -19    ethereal/packet-ip.c