From William J. Hulley: support for the Transparent Ethernet Bridge
ethertype in GRE.
diff --git a/CREDITS b/CREDITS
index cf42105..6655535 100644
--- a/CREDITS
+++ b/CREDITS
@@ -161,7 +161,8 @@
Victor Oppleman <oppleman at users dot sourceforge dot net>
Wesley Griffin <wgriffin at users dot sourceforge dot net>
Wilbert de Graaf <wilbertdg at hetnet dot nl>
- Will Drewry <will at alum dot bu dot edu>
+ Will Drewry <will at alum dot bu dot edu>
+ William J. Hulley <bill dot hulley at gmail dot com>
Yen Yen Lim
Yoshifumi Nishida
diff --git a/ethertype.h b/ethertype.h
index dbbbae4..959fc01 100644
--- a/ethertype.h
+++ b/ethertype.h
@@ -76,6 +76,9 @@
#ifndef ETHERTYPE_SCA
#define ETHERTYPE_SCA 0x6007
#endif
+#ifndef ETHERTYPE_TEB
+#define ETHERTYPE_TEB 0x6558
+#endif
#ifndef ETHERTYPE_LANBRIDGE
#define ETHERTYPE_LANBRIDGE 0x8038
#endif
diff --git a/print-ether.c b/print-ether.c
index c93fd6c..c8d524c 100644
--- a/print-ether.c
+++ b/print-ether.c
@@ -56,6 +56,7 @@
{ ETHERTYPE_DN, "DN" },
{ ETHERTYPE_LAT, "LAT" },
{ ETHERTYPE_SCA, "SCA" },
+ { ETHERTYPE_TEB, "TEB" },
{ ETHERTYPE_LANBRIDGE, "Lanbridge" },
{ ETHERTYPE_DECDNS, "DEC DNS" },
{ ETHERTYPE_DECDTS, "DEC DTS" },
diff --git a/print-gre.c b/print-gre.c
index 55f0e9d..8473848 100644
--- a/print-gre.c
+++ b/print-gre.c
@@ -225,6 +225,9 @@
case ETHERTYPE_GRE_ISO:
isoclns_print(bp, len, len);
break;
+ case ETHERTYPE_TEB:
+ ether_print(bp, len, len);
+ break;
default:
printf("gre-proto-0x%x", prot);
}