aboutsummaryrefslogtreecommitdiffstats
path: root/packet-isdn.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-11-01 05:39:36 +0000
committerGuy Harris <guy@alum.mit.edu>2002-11-01 05:39:36 +0000
commit4169d3000e0568cecc480b558b0d3eec940bb615 (patch)
tree01c56cce59148bbd31f823fd2157ac2bbd44a98f /packet-isdn.c
parent1522cd2994c78ba0a77bcdbb1989ebec5dfc9bbb (diff)
downloadwireshark-4169d3000e0568cecc480b558b0d3eec940bb615.tar.gz
wireshark-4169d3000e0568cecc480b558b0d3eec940bb615.tar.bz2
wireshark-4169d3000e0568cecc480b558b0d3eec940bb615.zip
Don't bother putting the direction into the ISDN part of the protocol
tree - it's already in there as part of the frame header. svn path=/trunk/; revision=6534
Diffstat (limited to 'packet-isdn.c')
-rw-r--r--packet-isdn.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/packet-isdn.c b/packet-isdn.c
index ad9ca1d270..cf8bb0108b 100644
--- a/packet-isdn.c
+++ b/packet-isdn.c
@@ -1,7 +1,7 @@
/* packet-isdn.c
* Routines for ISDN packet disassembly
*
- * $Id: packet-isdn.c,v 1.1 2002/10/31 07:12:23 guy Exp $
+ * $Id: packet-isdn.c,v 1.2 2002/11/01 05:39:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -32,7 +32,6 @@
#include <epan/circuit.h>
static int proto_isdn = -1;
-static int hf_isdn_direction = -1;
static int hf_isdn_channel = -1;
static gint ett_isdn = -1;
@@ -42,11 +41,6 @@ static dissector_handle_t ppp_hdlc_handle;
static dissector_handle_t v120_handle;
static dissector_handle_t data_handle;
-static const true_false_string direction_tfs = {
- "User-to-network",
- "Network-to-user"
-};
-
static const value_string channel_vals[] = {
{ 0, "D" },
{ 1, "B1" },
@@ -113,8 +107,6 @@ dissect_isdn(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = proto_tree_add_item(tree, proto_isdn, tvb, 0, 0, FALSE);
isdn_tree = proto_item_add_subtree(ti, ett_isdn);
- proto_tree_add_boolean(isdn_tree, hf_isdn_direction, tvb, 0, 0,
- pinfo->pseudo_header->isdn.uton);
proto_tree_add_uint(isdn_tree, hf_isdn_channel, tvb, 0, 0,
pinfo->pseudo_header->isdn.channel);
}
@@ -194,10 +186,6 @@ void
proto_register_isdn(void)
{
static hf_register_info hf[] = {
- { &hf_isdn_direction,
- { "Direction", "isdn.direction", FT_BOOLEAN, BASE_NONE,
- TFS(&direction_tfs), 0x0, "", HFILL }},
-
{ &hf_isdn_channel,
{ "Channel", "isdn.channel", FT_UINT8, BASE_DEC,
VALS(channel_vals), 0x0, "", HFILL }},