That was enough of a hint - thanks. Bug 2192 and patch for review
submitted.
Regards, Neil
PS Did you know MSVC6 cannot set breakpoints beyond line 64k of a file -
and packet-rrc.c is a _lot_ bigger (but MSVC6 actually points you back
to rrc.cnf correctly anyway, but...)
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anders Broman
Hi,
In rrc.cnf do something similar to whats done in RANAP
--- Snip from ranap.cnf ---
#.FN_BODY NAS-PDU VAL_PTR = &nas_pdu_tvb
tvbuff_t *nas_pdu_tvb=NULL;
%(DEFAULT_BODY)s
if (nas_pdu_tvb)
dissector_try_port(nas_pdu_dissector_table, 0x1, nas_pdu_tvb,
%(ACTX)s->pinfo, proto_tree_get_root(tree));
#.END
--- End Snip from ranap.cnf ---
I guess that would be:
#.FN_BODY NAS-Message PDU VAL_PTR = &nas_message_tvb
%(DEFAULT_BODY)s
if (nas_pdu_tvb)
then the actual hook into packet-gsm_a.c
If you do something along those lines please submit the result
back to us.
Regards
Anders
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev