aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-csn1.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-09-09 17:29:20 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-09-09 17:29:20 +0000
commit2e49699bb6947d46d661c5828bc9afb67c47766f (patch)
treed9eb7898e801b8406b4497147fe5480a11b0c3dd /epan/dissectors/packet-csn1.c
parenta3a899de80163f7ddf35471a726ff1e9fe995375 (diff)
From Sylvain Munaut via bug 6328:
Fix bug in CSN_CHOICE implentation preventing subtree processing svn path=/trunk/; revision=38951
Diffstat (limited to 'epan/dissectors/packet-csn1.c')
-rw-r--r--epan/dissectors/packet-csn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-csn1.c b/epan/dissectors/packet-csn1.c
index 40a04f3047..32514c501d 100644
--- a/epan/dissectors/packet-csn1.c
+++ b/epan/dissectors/packet-csn1.c
@@ -531,7 +531,7 @@ csnStreamDissector(proto_tree *tree, csnStream_t* ar, const CSN_DESCR* pDescr, t
proto_tree *test_tree;
descr[0] = pChoice->descr;
- descr[0].type = CSN_END;
+ descr[1].type = CSN_END;
pui8 = pui8DATA(data, pDescr->offset);
*pui8 = i;
proto_tree_add_text(tree, tvb, bit_offset>>3, (no_of_bits>>3)+1, "%s Choice: %s",