diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-08-31 15:21:39 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-08-31 15:21:39 +0000 |
commit | 446bf4045d06d07eafb967aef7a2726b0c5a72bd (patch) | |
tree | fc4ce3fbda97d2e0038340291d4fbb24decd30a4 /epan | |
parent | 8711038106f749928600a8dd83c604bda7af003a (diff) |
According to X.S0059 specification, when using FemtoInterfaceMsg Body the Information Elements for the Complete Layer 3 Information message shall not be included
svn path=/trunk/; revision=51614
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ansi_a.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ansi_a.c b/epan/dissectors/packet-ansi_a.c index 5f0179be01..190d6d36b1 100644 --- a/epan/dissectors/packet-ansi_a.c +++ b/epan/dissectors/packet-ansi_a.c @@ -9214,9 +9214,13 @@ bsmap_cl3_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offs curr_offset = offset; curr_len = len; - ELEM_MAND_TLV(ANSI_A_E_CELL_ID, ""); + if (!GPOINTER_TO_UINT(pinfo->private_data)) { + /* With femtoInterfaceMsg application, the Information Elements + for the Complete Layer 3 Information message shall not be included */ + ELEM_MAND_TLV(ANSI_A_E_CELL_ID, ""); - ELEM_MAND_TLV(ANSI_A_E_L3_INFO, ""); + ELEM_MAND_TLV(ANSI_A_E_L3_INFO, ""); + } EXTRANEOUS_DATA_CHECK(curr_len, 0); } |