aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-kdp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-04-23 19:06:26 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-04-23 19:06:26 +0000
commita3534cd46ad0366ac916f727dd5183c27cdb1069 (patch)
tree19b2860c65b23ec74315dce012705c63a4821299 /epan/dissectors/packet-kdp.c
parentba9dd57f6a1bdd82adf9e851b1e335bf795b07a2 (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.c1
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;