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

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Tue, 16 Dec 2003 20:17:40 -0600 (CST)
guy         2003/12/16 20:17:40 CST

  Modified files:
    .                    packet-radius.c 
  Log:
  Call the "type" member of a "radius_attr_info" structure "value_type"
  (as it's the type of the value for that attribute, e.g. integer, string,
  binary string, time, ...), and call "val1" "attr_type" (as it's the
  "type" field value for that attribute in RADIUS packets).
  
  Add a type for EAP messages, and check for EAP messages using the value
  type.
  
  For tagged integers, fetch the tag and value separately.
  
  Fix the tagged-integer code to overwrite the buffer rather than
  appending to it.
  
  Revision  Changes    Path
  1.85      +37 -26    ethereal/packet-radius.c