Ethereal-dev: [Ethereal-dev] Problems in the H.450 dissector when it calls H.225 routines.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 08 Jan 2005 16:37:01 -0800
etxrab@xxxxxxxxxxxx wrote:
User: etxrab
Date: 2005/01/08 10:38 AM

Log:
 Reinsert dissection of h450 messages

The H.450 code is expecting functions with a signature for "dissect_h225_AliasAddress()" different from the one the H.225 code provides:

packet-h450.c:246: warning: initialization from incompatible pointer type
packet-h450.c:250: warning: initialization from incompatible pointer type
packet-h450.c: In function `dissect_h4501_destinationAddress':
packet-h450.c:464: warning: passing arg 7 of `dissect_per_sequence_of' from incompatible pointer type
packet-h450.c: At top level:
packet-h450.c:473: warning: initialization from incompatible pointer type

The routines called by the H.450 code won't be passing an hf_index argument. You might need to have a wrapper function or functions in the H.450 code that calls "dissect_h225_AliasAddress()" and passes it the appropriate hf_ values, and use those functions rather than directly using "dissect_h225_AliasAddress()".