Hi,
I removed that output completely.
Brg
Anders

-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Oleg Kostenko
Skickat: den 30 augusti 2006 20:17
Till: [email protected]
Ämne: [Wireshark-dev] Megaco dissector: problem with dissection
ofMediaDescriptor

Hello,

I've found some strange code in dissect_megaco_mediadescriptor():

        tvb_current_offset = tvb_find_guint8(tvb, tvb_previous_offset,
tvb_RBRKT, '=');
        tokenlen = tvb_current_offset  - tvb_previous_offset -1;
        if (tokenlen > 0)
                proto_tree_add_text(megaco_mediadescriptor_tree, tvb,
tvb_previous_offset, tokenlen,
                        "%s",   tvb_format_text(tvb, tvb_previous_offset,
tokenlen));

I'm not sure how it's supposed to work but this is how it works with
my packets:

Suppose there are the following lines in the packet:

Media{
LocalControl{Mode=SendReceive}
},

Here's the result of the dissection of this fragment:

Media Descriptor
  Media{\nLocalControl{Mod
  Local Control Descriptor: Mode=SendReceive
    Mode: SendReceive

Looks as if the line 'Media{\nLocalControl{Mod' should not be there,
or at least it should look somehow different.

As I don't know how this was supposed to work, I cannot make a patch.
Would you please check what's wrong with that code?

Thanks.
    
-- 
Best regards,
 Oleg                          mailto:[EMAIL PROTECTED]

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev


_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to