Ethereal-dev: [Ethereal-dev] Re: Bug in packet-stun.c

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

Date: Sun, 4 Jan 2004 23:17:05 +0800
There is still a bug in previous mail.

Line 257 in packet-stun.c

proto_tree_add_item(att_tree, stun_att_length, tvb, offset+2, att_length, FALSE);

, should be replaced by

proto_tree_add_item(att_tree, stun_att_value, tvb, offset+4, att_length, FALSE);


(that is stun_att_length=>stun_att_value, and offset+2=>offset+4)

Regards,
Shiang-Ming