diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-12-05 06:43:47 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-12-05 06:43:47 +0000 |
commit | 8649f3704addb2bacc78aebc81d11192a03e151f (patch) | |
tree | d408f2f6fc6495039febfe99f58e04989addefd9 /epan/dissectors/packet-sigcomp.c | |
parent | 649856e30c8dc79c61f23cfa9932080b1bf6ad8e (diff) |
From Cristian Constantin:
As a workarond for the problem that accsessing a state with a state id > the stored
minimum access length fail, only store and compare the state with the minimum access
lengt specified in the standard of 6 bytes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20041 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sigcomp.c')
-rw-r--r-- | epan/dissectors/packet-sigcomp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sigcomp.c b/epan/dissectors/packet-sigcomp.c index ef8331e15d..ee53a4de2b 100644 --- a/epan/dissectors/packet-sigcomp.c +++ b/epan/dissectors/packet-sigcomp.c @@ -717,10 +717,15 @@ dissect_sigcomp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sigcomp_tr i++; } +/* begin partial state-id change cco@iptel.org */ +#if 0 result_code = udvm_state_access(tvb, sigcomp_tree, buff, p_id_start, partial_state_len, state_begin, &state_length, &state_address, &state_instruction, hf_sigcomp_partial_state); +#endif + result_code = udvm_state_access(tvb, sigcomp_tree, buff, p_id_start, STATE_MIN_ACCESS_LEN, state_begin, &state_length, + &state_address, &state_instruction, hf_sigcomp_partial_state); - +/* end partial state-id change cco@iptel.org */ if ( result_code != 0 ){ proto_tree_add_text(sigcomp_tree, tvb, 0, -1,"Failed to Access state Wireshark UDVM diagnostic: %s.", val_to_str(result_code, result_code_vals,"Unknown (%u)")); |