mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 00:12:45 +00:00
Quick hack to print out the non-standard pppoe used by 3com
This commit is contained in:
parent
37068be4f9
commit
f1f9d42a53
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84019
@ -109,6 +109,12 @@
|
||||
#ifndef ETHERTYPE_PPPOES
|
||||
#define ETHERTYPE_PPPOES 0x8864
|
||||
#endif
|
||||
#ifndef ETHERTYPE_PPPOED2
|
||||
#define ETHERTYPE_PPPOED2 0x3c12
|
||||
#endif
|
||||
#ifndef ETHERTYPE_PPPOES2
|
||||
#define ETHERTYPE_PPPOES2 0x3c13
|
||||
#endif
|
||||
#ifndef ETHERTYPE_LOOPBACK
|
||||
#define ETHERTYPE_LOOPBACK 0x9000
|
||||
#endif
|
||||
|
@ -225,6 +225,8 @@ ether_encap_print(u_short ethertype, const u_char *p,
|
||||
|
||||
case ETHERTYPE_PPPOED:
|
||||
case ETHERTYPE_PPPOES:
|
||||
case ETHERTYPE_PPPOED2:
|
||||
case ETHERTYPE_PPPOES2:
|
||||
pppoe_print(p, length);
|
||||
return (1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user