summaryrefslogtreecommitdiff
path: root/print-gre.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@steve.local>2009-02-26 01:04:20 -0800
committerGuy Harris <gharris@steve.local>2009-02-26 01:04:20 -0800
commit9248d0c2fac920cd401d8ea2a6c7a871e0182f86 (patch)
tree6478a299b81739c12c0db9a644addbdcc70f368d /print-gre.c
parent1e74db1b72615f96185b1322822c2346b97b82ed (diff)
downloadtcpdump-9248d0c2fac920cd401d8ea2a6c7a871e0182f86.tar.gz
From William J. Hulley: support for the Transparent Ethernet Bridge
ethertype in GRE.
Diffstat (limited to 'print-gre.c')
-rw-r--r--print-gre.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/print-gre.c b/print-gre.c
index 55f0e9d1..8473848d 100644
--- a/print-gre.c
+++ b/print-gre.c
@@ -225,6 +225,9 @@ gre_print_0(const u_char *bp, u_int length)
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);
}