aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-12-07 03:16:34 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-12-07 03:16:34 +0000
commit2625d6d3e90af60f8e5777df3fed295d02d41fc0 (patch)
tree689d730f3edb2969f00c68c785425bad925961ee /epan
parentab3d6214d5a4ab146442bab198c89ac8cdd4e191 (diff)
create a proper ETHERTYPE for ATAoverEthernet
svn path=/trunk/; revision=12674
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-aoe.c3
-rw-r--r--epan/dissectors/packet-ethertype.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-aoe.c b/epan/dissectors/packet-aoe.c
index 4cc3ae7ec8..7c85a392f5 100644
--- a/epan/dissectors/packet-aoe.c
+++ b/epan/dissectors/packet-aoe.c
@@ -32,8 +32,7 @@
#endif
#include <epan/packet.h>
-
-#define ETHERTYPE_AOE 0x88A2
+#include <etypes.h>
static int proto_aoe;
static int hf_aoe_version=-1;
diff --git a/epan/dissectors/packet-ethertype.c b/epan/dissectors/packet-ethertype.c
index d7fa4d7be4..29571f5b8c 100644
--- a/epan/dissectors/packet-ethertype.c
+++ b/epan/dissectors/packet-ethertype.c
@@ -90,7 +90,7 @@ const value_string etype_vals[] = {
{ETHERTYPE_RTCFG, "Real-Time Configuration Protocol" },
{ETHERTYPE_CDMA2000_A10_UBS,"CDMA2000 A10 Unstructured byte stream" },
{ETHERTYPE_PROFINET, "PROFInet" },
-
+ {ETHERTYPE_AOE, "ATA over Ethernet" },
/*
* NDISWAN on Windows translates Ethernet frames from higher-level
* protocols into PPP frames to hand to the PPP driver, and translates