Wireshark-bugs: [Wireshark-bugs] [Bug 1332] Diameter Address format AVPs don't decode properly

Date: Tue, 30 Jan 2007 13:45:50 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1332





------- Comment #10 from martin.mathieson@xxxxxxxxxxxx  2007-01-30 13:45 GMT -------
This is hopefully fixed with change 20623, please test & confirm.

The problem was that the data part of the AVP as assumed to be (AVP header
length - reported AVP length), but this didn't take into account that for RFC
IP_ADDRESS fields, that length would include 2 bytes of padding.  I now
hardcode the IPv4 and IPv6 addresses as 4 and 16 bytes (maybe this isn't
totally ideal, as it would be good to get an indication that the length and
padding were done properly...) 


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.