diff options
author | Matt Dainty <matt@bodgit-n-scarper.com> | 2011-12-09 20:46:27 +0000 |
---|---|---|
committer | Matt Dainty <matt@bodgit-n-scarper.com> | 2011-12-09 20:46:27 +0000 |
commit | ebdb1b1d301b1ac5234d447a055e3be5582678db (patch) | |
tree | ea495a462fe781215e601bddd5ab0535d857d1be /print-pppoe.c | |
parent | 8b6ba587277b5d11012389c66ac4655bdbc315a8 (diff) | |
download | tcpdump-ebdb1b1d301b1ac5234d447a055e3be5582678db.tar.gz |
Teach PPPoE parser about RFC 4638
Diffstat (limited to 'print-pppoe.c')
-rw-r--r-- | print-pppoe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/print-pppoe.c b/print-pppoe.c index 7abc7878..bcc976c4 100644 --- a/print-pppoe.c +++ b/print-pppoe.c @@ -70,6 +70,7 @@ enum { PPPOE_AC_COOKIE = 0x0104, PPPOE_VENDOR = 0x0105, PPPOE_RELAY_SID = 0x0110, + PPPOE_MAX_PAYLOAD = 0x0120, PPPOE_SERVICE_NAME_ERROR = 0x0201, PPPOE_AC_SYSTEM_ERROR = 0x0202, PPPOE_GENERIC_ERROR = 0x0203 @@ -83,6 +84,7 @@ static struct tok pppoetag2str[] = { { PPPOE_AC_COOKIE, "AC-Cookie" }, { PPPOE_VENDOR, "Vendor-Specific" }, { PPPOE_RELAY_SID, "Relay-Session-ID" }, + { PPPOE_MAX_PAYLOAD, "PPP-Max-Payload" }, { PPPOE_SERVICE_NAME_ERROR, "Service-Name-Error" }, { PPPOE_AC_SYSTEM_ERROR, "AC-System-Error" }, { PPPOE_GENERIC_ERROR, "Generic-Error" }, |