Revert "ppp: fix ppp_async_encode() illegal access"
This reverts commit da367d7cf1
.
This commit is contained in:
parent
31712644b6
commit
8fb27853c1
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ ppp_async_encode(struct asyncppp *ap)
|
|||
* and 7 (code-reject) must be sent as though no options
|
||||
* had been negotiated.
|
||||
*/
|
||||
islcp = proto == PPP_LCP && count >= 3 && 1 <= data[2] && data[2] <= 7;
|
||||
islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7;
|
||||
|
||||
if (i == 0) {
|
||||
if (islcp)
|
||||
|
|
Loading…
Reference in a new issue