aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_a.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-08-31 15:21:39 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-08-31 15:21:39 +0000
commit446bf4045d06d07eafb967aef7a2726b0c5a72bd (patch)
treefc4ce3fbda97d2e0038340291d4fbb24decd30a4 /epan/dissectors/packet-ansi_a.c
parent8711038106f749928600a8dd83c604bda7af003a (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/dissectors/packet-ansi_a.c')
-rw-r--r--epan/dissectors/packet-ansi_a.c8
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);
}