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 18:41:46 -0600 (CST)
guy         2003/12/16 18:41:46 CST

  Modified files:
    .                    packet-radius.c 
  Log:
  Instead of having a whole pile of RADIUS value types, each of which has
  a value_string table associated with it, just have them all be
  RADIUS_INTEGER4 or RADIUS_INTEGER4_TAGGED, and add to the table of value
  tags/value types/value names a pointer to a value_string table - if it's
  null, just show the value, otherwise use the table.
  
  Use that for the 3GPP protocol type field as well, with a value_string
  table, rather than doing a switch.
  
  Constify a bunch of tables.
  
  Replace "get_vsa_table()" with "get_attr_info_table()", which returns
  the attribute information table for the vendor in question, or NULL.
  
  Fix the handling of IPX addresses.
  
  Revision  Changes    Path
  1.83      +1042 -1315ethereal/packet-radius.c