Patch is attached and includes only the new "register_dissector" call
Tnx
--- packet-megaco.c     2004-09-28 00:55:15.867106000 +0200
+++ packet-megaco_new.c 2005-01-11 17:48:56.509138100 +0200
@@ -2596,6 +2596,8 @@
        proto_megaco = proto_register_protocol("MEGACO",
                                           "MEGACO", "megaco");
+
+       register_dissector("megaco", dissect_megaco_text, proto_megaco);
        proto_register_field_array(proto_megaco, hf, array_length(hf));
        proto_register_subtree_array(ett, array_length(ett));
Date: Mon, 10 Jan 2005 09:30:39 +0100 
From: "Anders Broman (AL/EAB)" 
Subject: RE: [Ethereal-dev] Megaco dissector 
To: "'Ethereal development'" 
Hi, 
As far as I know the only reason why it wasn't regestering was that 
it wasn't needed :) 
To submitt a patch do a diff -u against the latest svn version and send it in. 
Best regards 
Anders 
-----Original Message----- 
From: ethereal-dev-bounces@xxxxxxxxxxxx 
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] 
Sent: den 9 januari 2005 09:15 
To: ethereal-dev@xxxxxxxxxxxx 
Subject: [Ethereal-dev] Megaco dissector 
Hi everyone, 
I would like to dissect Megaco packets running on top of a 
proprietary protocol, for some reason the plugin does not register 
itself (via register_dissector), and a handle can't be created 
in other dissectors. 
fixing this would involve adding something like the following : 
register_dissector("megaco", dissect_megaco_text, proto_megaco); 
int the proto_reg_handoff_megaco init section. 
Any apparent reason why the dissector is not registered, if not 
how do I submit the patch? 
Tnx 
Tomer 
-- 
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup
Attachment:
packet-megaco.patch
Description: Binary data