PDU, GOP and GOG should be at the same level not nested
authorLuis Ontanon <luis.ontanon@gmail.com>
Sat, 21 May 2005 15:47:18 +0000 (15:47 -0000)
committerLuis Ontanon <luis.ontanon@gmail.com>
Sat, 21 May 2005 15:47:18 +0000 (15:47 -0000)
svn path=/trunk/; revision=14415

plugins/mate/packet-mate.c

index 879bafd3508577184dea8cf608268bbd4647321e..dbf749c0f2b89417b2a496218ecaaca273857b11 100644 (file)
@@ -284,10 +284,10 @@ void mate_pdu_tree(mate_pdu *pdu, tvbuff_t *tvb, proto_tree* tree) {
 
        if (pdu->gop) {
                proto_tree_add_float(pdu_tree,pdu->cfg->hfid_pdu_time_in_gop, tvb, 0, 0, pdu->time_in_gop);             
-               mate_gop_tree(pdu_tree,tvb,pdu->gop);
+               mate_gop_tree(tree,tvb,pdu->gop);
 
                if (pdu->gop->gog)
-                       mate_gog_tree(pdu_tree,tvb,pdu->gop->gog,pdu->gop);
+                       mate_gog_tree(tree,tvb,pdu->gop->gog,pdu->gop);
        }
        
        if (pdu->avpl) {