aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-megaco.c
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2009-03-13 16:51:40 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2009-03-13 16:51:40 +0000
commit10ab8cc28d1f2b95bad3f584976cc1d88bce050f (patch)
treefdbd32463fd8c88ddc533c4d4e6741a7220f350b /epan/dissectors/packet-megaco.c
parentcf23f50e1add65d66e9f015fe7fdb277faca6465 (diff)
Fix inverted interpretation of global_megaco_dissect_tree.
svn path=/trunk/; revision=27716
Diffstat (limited to 'epan/dissectors/packet-megaco.c')
-rw-r--r--epan/dissectors/packet-megaco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-megaco.c b/epan/dissectors/packet-megaco.c
index 3695855aa9..bb90f425e9 100644
--- a/epan/dissectors/packet-megaco.c
+++ b/epan/dissectors/packet-megaco.c
@@ -299,7 +299,7 @@ my_proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb,
proto_item *pi;
pi = proto_tree_add_string(tree, hfindex, tvb, start, length, value);
- if (global_megaco_dissect_tree) {
+ if (!global_megaco_dissect_tree) {
PROTO_ITEM_SET_HIDDEN(pi);
}