From e502949ecca7b0c69d8e563aaf6c04e3c13b8ecd Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 12 Jun 2003 07:33:26 +0000 Subject: [PATCH] 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 --- packet-enip.c | 4 ++-- 1 file 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 * Joakim Wiberg * - * $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 @@ -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 );