aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-12 17:14:36 +0000
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-12 17:14:36 +0000
commit983d78cf33e81683a72f25d0668e2fa47a9b4660 (patch)
treefdb76daaf1575b8b361f43ccd76414b8c5aade99 /epan
parentb50c6feb257040624dbc0d7a57b58582ee54b787 (diff)
Add text to fac_subtree instead of fac_tree. Fixes Coverity CID 1129.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37083 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-x25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-x25.c b/epan/dissectors/packet-x25.c
index 7d36092beb..497c64b992 100644
--- a/epan/dissectors/packet-x25.c
+++ b/epan/dissectors/packet-x25.c
@@ -778,7 +778,7 @@ dump_facilities(proto_tree *tree, int *offset, tvbuff_t *tvb)
"(Called address modified)", fac);
fac_subtree = proto_item_add_subtree(ti,
ett_x25_fac_called_modif);
- proto_tree_add_text(fac_tree, tvb, *offset+1, 1,
+ proto_tree_add_text(fac_subtree, tvb, *offset+1, 1,
"Parameter %02X", tvb_get_guint8(tvb, *offset+1));
}
break;