ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 42530: /trunk/epan/ /trunk/epan/dissectors/: packet-radi

Date: Thu, 10 May 2012 01:01:18 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42530

User: guy
Date: 2012/05/09 06:01 PM

Log:
 Get rid of remaining Booleans-as-encoding-arguments in
 proto_tree_add_item() calls.
 
 For RADIUS, this means that, for string attributes that are encrypted,
 we need separate fields for the encrypted and decrypted versions, the
 former of which is an FT_BYTES (as its value is *NOT* a text string!)
 and the latter of which is FT_STRING.
 
 While we're at it:
 
 	make some routines static that don't need to be exported;
 
 	"encrypt=" takes a value between 1 and 3 - get the value from
 	the dictionary and store it, and only do User-Password-style
 	decryption for encrypt=1 attributes;
 
 	rename "hf64" to "hf_alt", as it's a general "alternate field",
 	used for 64-bit values for integral attributess, IPv6 addresses
 	for "combo IP" attributes, and encrypted values for string
 	fields;
 
 	give the URL for the FreeRADIUS dictionary file format man page.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +51 -22    packet-radius.c    Modified
  +2 -2      packet-radius.h    Modified

Directory: /trunk/epan/
  Changes    Path             Action
  +12 -12    radius_dict.l    Modified