Skip to content
Commit 16542e16 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Carles Cufí
Browse files

net: l2: ppp: fix packet length for sending Term-Req and Term-Ack



Each PPP packet sent on wire needs to have at least 4 bytes length. Set
that length for outgoing Term-Req and Term-Ack packets. Also update
length validation to check for at least 4 bytes instead of at least 1
byte.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent c3308275
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment