aboutsummaryrefslogtreecommitdiffstats
path: root/packet-enip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-06-12 07:33:26 +0000
committerGuy Harris <guy@alum.mit.edu>2003-06-12 07:33:26 +0000
commite502949ecca7b0c69d8e563aaf6c04e3c13b8ecd (patch)
tree078d361a4666bdce73120848211a24b754b2e7f5 /packet-enip.c
parent7794698ef158516e82e672101df1c86754725ead (diff)
Show the segment type in the line for an 8-bit logical connection point
segment, as is done for othr logical segments (including 16-bit and 32-bit logical connection point segments). svn path=/trunk/; revision=7855
Diffstat (limited to 'packet-enip.c')
-rw-r--r--packet-enip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-enip.c b/packet-enip.c
index 12c4bbda50..a442c263ca 100644
--- a/packet-enip.c
+++ b/packet-enip.c
@@ -6,7 +6,7 @@
* Magnus Hansson <mah@hms.se>
* Joakim Wiberg <jow@hms.se>
*
- * $Id: packet-enip.c,v 1.1 2003/06/11 22:36:18 guy Exp $
+ * $Id: packet-enip.c,v 1.2 2003/06/12 07:33:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -961,7 +961,7 @@ show_epath( tvbuff_t *tvb, proto_item *pi, int offset, int path_length )
if( ( segment_type & CI_LOGICAL_SEG_FORMAT_MASK ) == CI_LOGICAL_SEG_8_BIT )
{
temp_data = tvb_get_guint8( tvb, offset + pathpos + 1 );
- cia_item = proto_tree_add_text( path_tree, tvb, offset + pathpos, 2, "8-Bit Logical Connection Point Segment (0x%02X)", temp_data );
+ cia_item = proto_tree_add_text( path_tree, tvb, offset + pathpos, 2, "8-Bit Logical Connection Point Segment (0x%02X)", segment_type );
/* Create a sub tree for the connection point */
cia_tree = proto_item_add_subtree( cia_item, ett_cia_path );