summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-fr.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-11-29 06:44:07 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-11-29 06:44:07 +0000
commit6c9ce8acf8610f9c5ff99215eb3650ec0b6e0688 (patch)
tree8ec6fc9d92c3351e1dec0eec3a14a7a1290a6155 /epan/dissectors/packet-fr.c
parent35482921b20efde6d5856cad5df217bfabd323c8 (diff)
downloadwireshark-6c9ce8acf8610f9c5ff99215eb3650ec0b6e0688.tar.gz
Froim Rene Pilz:
This patch consists also the last issues. Additionally it solves: - For the SSCOP frames the AAL5 decoding was not performed due to an earlier patch. This caused that no SSCOP message was properly decoded. - As the detection between a LANE frame and a SSCOP frame is rather hard a switch within the atm dissector is included which enforce SSCOP dissecting over a LANE frame. At the moment I do not see a better solution for that. svn path=/trunk/; revision=20013
Diffstat (limited to 'epan/dissectors/packet-fr.c')
-rw-r--r--epan/dissectors/packet-fr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-fr.c b/epan/dissectors/packet-fr.c
index d74972a2c8..c48c25e818 100644
--- a/epan/dissectors/packet-fr.c
+++ b/epan/dissectors/packet-fr.c
@@ -551,6 +551,8 @@ dissect_fr_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}
proto_tree_add_boolean(octet_tree, hf_fr_dc, tvb, offset, 1, fr_octet);
proto_tree_add_boolean(octet_tree, hf_fr_ea, tvb, offset, 1, fr_octet);
+
+ offset++;
}
}
if (tree) {
@@ -561,6 +563,11 @@ dissect_fr_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
pinfo->ctype = CT_DLCI;
pinfo->circuit_id = address;
+ /* Add DLCI to a collumn */
+ if ( check_col(pinfo->cinfo, COL_FR_DLCI)) {
+ col_add_fstr(pinfo->cinfo, COL_FR_DLCI, "%u", address);
+ }
+
if (check_col(pinfo->cinfo, COL_INFO))
col_add_fstr(pinfo->cinfo, COL_INFO, "DLCI %u", address);