From 2e49699bb6947d46d661c5828bc9afb67c47766f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Fri, 9 Sep 2011 17:29:20 +0000 Subject: From Sylvain Munaut via bug 6328: Fix bug in CSN_CHOICE implentation preventing subtree processing svn path=/trunk/; revision=38951 --- epan/dissectors/packet-csn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-csn1.c') 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", -- cgit v1.2.3