diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-11-01 20:00:08 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-11-01 20:00:08 +0000 |
commit | 7d3d39018a293eb101967cfc9f4a012bfd83edaa (patch) | |
tree | 1c3ca8ff3d61eb0e5101f1b83697018b6bf3e18a /epan/dissectors/packet-gsm_a_bssmap.c | |
parent | 877545ec52de01334556acc604274ce4945b6b27 (diff) |
Fix Layer 3 Message Contents(?)
At least the trace at http://openbsc.gnumonks.org/trac/attachment/wiki/OpenBSCWithSCCP/bssmap_clean.pcap dissects correctly now.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30799 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_bssmap.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_bssmap.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/epan/dissectors/packet-gsm_a_bssmap.c b/epan/dissectors/packet-gsm_a_bssmap.c index f0021897dd..fe4b873006 100644 --- a/epan/dissectors/packet-gsm_a_bssmap.c +++ b/epan/dissectors/packet-gsm_a_bssmap.c @@ -2194,14 +2194,12 @@ be_l3_msg(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add */ l3_tvb = tvb_new_subset(tvb, curr_offset, len, len); - /* although not obvious in 48.008, the L3 contents here are - the contents of the 44.018 CIPHER MODE COMPLETE PDU */ - dtap_rr_cip_mode_cpte(l3_tvb, tree, 0, len); + /* Octet j (j = 3, 4, ..., n) is the unchanged octet j of a radio interface layer 3 message + * as defined in 3GPP TS 24.008, n is equal to the length of that radio interface layer 3 message. */ + call_dissector(dtap_handle, l3_tvb, g_pinfo, g_tree); curr_offset += len; - EXTRANEOUS_DATA_CHECK(len, curr_offset - offset); - - return(curr_offset - offset); + return(len); } /* |