aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eth.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-08-26 19:09:02 +0000
committerGuy Harris <guy@alum.mit.edu>2002-08-26 19:09:02 +0000
commit7a12fa137326ec66c2446096524d7475328df04c (patch)
treef94d6b4778f6d413083a5502e0cb0cd802e5e3d5 /packet-eth.c
parent06573c83ef87a1793152f20c6e53aef6a356b7c1 (diff)
From Ulf Lamping:
Put "bytes" after the byte counts for the frame sizes in the top-level item for the "Frame" protocol, to make it clearer what they refer to. Put the source and destination MAC addresses into the top-level item for Ethernet. svn path=/trunk/; revision=6090
Diffstat (limited to 'packet-eth.c')
-rw-r--r--packet-eth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-eth.c b/packet-eth.c
index 96b7675a8e..8548317bde 100644
--- a/packet-eth.c
+++ b/packet-eth.c
@@ -1,7 +1,7 @@
/* packet-eth.c
* Routines for ethernet packet disassembly
*
- * $Id: packet-eth.c,v 1.75 2002/08/08 09:28:08 guy Exp $
+ * $Id: packet-eth.c,v 1.76 2002/08/26 19:08:59 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -222,7 +222,8 @@ dissect_eth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_INFO, "Ethernet II");
if (tree) {
ti = proto_tree_add_protocol_format(tree, proto_eth, tvb, 0, ETH_HEADER_SIZE,
- "Ethernet II");
+ "Ethernet II, Src: %s, Dst: %s",
+ ether_to_str(src), ether_to_str(dst));
fh_tree = proto_item_add_subtree(ti, ett_ether2);