diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-04-23 19:06:26 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-04-23 19:06:26 +0000 |
commit | a3534cd46ad0366ac916f727dd5183c27cdb1069 (patch) | |
tree | 19b2860c65b23ec74315dce012705c63a4821299 /epan/dissectors/packet-kdp.c | |
parent | ba9dd57f6a1bdd82adf9e851b1e335bf795b07a2 (diff) |
From Wade Hennessey:
Fix version number support for kdp packets.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3435
svn path=/trunk/; revision=28139
Diffstat (limited to 'epan/dissectors/packet-kdp.c')
-rw-r--r-- | epan/dissectors/packet-kdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-kdp.c b/epan/dissectors/packet-kdp.c index da26eb9141..ec9d92bea4 100644 --- a/epan/dissectors/packet-kdp.c +++ b/epan/dissectors/packet-kdp.c @@ -102,6 +102,7 @@ static void dissect_kdp(tvbuff_t *tvb, version = tvb_get_guint8(tvb, 0); if (version != 2) { /* Version other than 2 is really SDDP in UDP */ + proto_tree_add_item(kdp_tree, hf_kdp_version, tvb, 0, 1, FALSE); proto_tree_add_item(kdp_tree, hf_kdp_xml_body, tvb, 0, -1, FALSE); } else { header_len = tvb_get_guint8(tvb, 1) * 4; |