aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-02 00:28:38 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-02 00:28:38 +0000
commita74ca93857507b1816fecbc32c42a346afcab6d7 (patch)
tree6fbdd9a468adc9e844a74f358251020b02712e4e /epan/dissectors/packet-eth.c
parent76b679e5e56ee0f7b5df3ec0d3ea6fdb09ff13e6 (diff)
add the resolved Ethernet addresses to the "Ethernet II" summary line
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14520 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index 7cbab820d2..02eb724bbc 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -296,8 +296,8 @@ dissect_eth_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
col_set_str(pinfo->cinfo, COL_INFO, "Ethernet II");
if (parent_tree) {
ti = proto_tree_add_protocol_format(parent_tree, proto_eth, tvb, 0, ETH_HEADER_SIZE,
- "Ethernet II, Src: %s, Dst: %s",
- ether_to_str(src_addr), ether_to_str(dst_addr));
+ "Ethernet II, Src: %s (%s), Dst: %s (%s)",
+ get_ether_name(src_addr), ether_to_str(src_addr), get_ether_name(dst_addr), ether_to_str(dst_addr));
fh_tree = proto_item_add_subtree(ti, ett_ether2);
}