diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-09 01:55:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-09 01:55:13 +0000 |
commit | a0c5cac89d31a7db48dcdf9409d8ec99e190fbd3 (patch) | |
tree | 56b3385fc58ecf47445db1815665742a064e8366 /packet-atm.c | |
parent | 2b5eab973e4cb3d33354cbb2f1ecdb190c15171f (diff) |
It appears that a channel number of 0 means DTE->DCE, and a channel
number of 1 means DCE->DTE, in DOS Sniffer ATM captures.
svn path=/trunk/; revision=6881
Diffstat (limited to 'packet-atm.c')
-rw-r--r-- | packet-atm.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/packet-atm.c b/packet-atm.c index a037ffd47d..36329559cd 100644 --- a/packet-atm.c +++ b/packet-atm.c @@ -1,7 +1,7 @@ /* packet-atm.c * Routines for ATM packet disassembly * - * $Id: packet-atm.c,v 1.52 2003/01/08 23:07:44 guy Exp $ + * $Id: packet-atm.c,v 1.53 2003/01/09 01:55:11 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1139,19 +1139,19 @@ dissect_atm_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, switch (pinfo->pseudo_header->atm.channel) { case 0: - /* Traffic from DCE to DTE. */ + /* Traffic from DTE to DCE. */ if (check_col(pinfo->cinfo, COL_RES_DL_DST)) - col_set_str(pinfo->cinfo, COL_RES_DL_DST, "DTE"); + col_set_str(pinfo->cinfo, COL_RES_DL_DST, "DCE"); if (check_col(pinfo->cinfo, COL_RES_DL_SRC)) - col_set_str(pinfo->cinfo, COL_RES_DL_SRC, "DCE"); + col_set_str(pinfo->cinfo, COL_RES_DL_SRC, "DTE"); break; case 1: - /* Traffic from DTE to DCE. */ + /* Traffic from DCE to DTE. */ if (check_col(pinfo->cinfo, COL_RES_DL_DST)) - col_set_str(pinfo->cinfo, COL_RES_DL_DST, "DCE"); + col_set_str(pinfo->cinfo, COL_RES_DL_DST, "DTE"); if (check_col(pinfo->cinfo, COL_RES_DL_SRC)) - col_set_str(pinfo->cinfo, COL_RES_DL_SRC, "DTE"); + col_set_str(pinfo->cinfo, COL_RES_DL_SRC, "DCE"); break; } @@ -1174,13 +1174,13 @@ dissect_atm_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, switch (pinfo->pseudo_header->atm.channel) { case 0: - /* Traffic from DCE to DTE. */ - proto_tree_add_text(atm_tree, tvb, 0, 0, "Channel: DCE->DTE"); + /* Traffic from DTE to DCE. */ + proto_tree_add_text(atm_tree, tvb, 0, 0, "Channel: DTE->DCE"); break; case 1: - /* Traffic from DTE to DCE. */ - proto_tree_add_text(atm_tree, tvb, 0, 0, "Channel: DTE->DCE"); + /* Traffic from DCE to DTE. */ + proto_tree_add_text(atm_tree, tvb, 0, 0, "Channel: DCE->DTE"); break; default: |