aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atm.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2010-02-22 09:06:41 +0000
committerStephen Fisher <steve@stephen-fisher.com>2010-02-22 09:06:41 +0000
commitb62d27c43d4ea66c553baec3fcac0c1b112c65be (patch)
treec68f9fc67d52eaa0762b9a76f7f4bfdc50bcffef /epan/dissectors/packet-atm.c
parentc79b4e547367cccb283d6d1fc125c9225e3d89cc (diff)
Minor cosmetic changes:
- Display "Asynchronous Transfer Mode" instead of "ATM" in the protocol tree - Highlight the rest of the packet when the user selects ATM in the packet details pane. svn path=/trunk/; revision=31946
Diffstat (limited to 'epan/dissectors/packet-atm.c')
-rw-r--r--epan/dissectors/packet-atm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-atm.c b/epan/dissectors/packet-atm.c
index 488ea288fd..dd7699c1c0 100644
--- a/epan/dissectors/packet-atm.c
+++ b/epan/dissectors/packet-atm.c
@@ -1849,7 +1849,7 @@ dissect_atm_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}
if (tree) {
- atm_ti = proto_tree_add_protocol_format(tree, proto_atm, tvb, 0, 0, "ATM");
+ atm_ti = proto_tree_add_item(tree, proto_atm, tvb, 0, -1, FALSE);
atm_tree = proto_item_add_subtree(atm_ti, ett_atm);
if (!pseudowire_mode) {
@@ -1969,7 +1969,7 @@ proto_register_atm(void)
module_t *atm_module;
- proto_atm = proto_register_protocol("ATM", "ATM", "atm");
+ proto_atm = proto_register_protocol("Asynchronous Transfer Mode", "ATM", "atm");
proto_aal1 = proto_register_protocol("ATM AAL1", "AAL1", "aal1");
proto_aal3_4 = proto_register_protocol("ATM AAL3/4", "AAL3/4", "aal3_4");
proto_oamaal = proto_register_protocol("ATM OAM AAL", "OAM AAL", "oamaal");