}
/* Do some sanity checks on packet */
- if (len > ETH_DATA_LEN - 6) { /* 6-byte overhead for PPPoE header */
+ if (len > ETH_JUMBO_LEN - PPPOE_OVERHEAD) { /* 6-byte overhead for PPPoE header */
error("Invalid PPPoE packet length (%u)", len);
return -1;
}
case TAG_RELAY_SESSION_ID:
printer(arg, "relay-session-id");
break;
+ case TAG_PPP_MAX_PAYLOAD:
+ printer(arg, "PPP-max-payload");
+ break;
case TAG_SERVICE_NAME_ERROR:
printer(arg, "service-name-error");
text = 1;