summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/print-ether.c')
-rw-r--r--usr.sbin/tcpdump/print-ether.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/print-ether.c b/usr.sbin/tcpdump/print-ether.c
index b5e199783ec..35ae0605cff 100644
--- a/usr.sbin/tcpdump/print-ether.c
+++ b/usr.sbin/tcpdump/print-ether.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ether.c,v 1.10 2000/01/16 12:32:16 jakob Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ether.c,v 1.11 2000/02/18 14:39:35 jason Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -196,6 +196,13 @@ ether_encap_print(u_short ethertype, const u_char *p,
ether_print(p + 4, length - 4);
return (1);
+#ifdef PPP
+ case ETHERTYPE_PPPOEDISC:
+ case ETHERTYPE_PPPOE:
+ pppoe_if_print(ethertype, p, length, caplen);
+ return (1);
+#endif
+
case ETHERTYPE_LAT:
case ETHERTYPE_SCA:
case ETHERTYPE_MOPRC: