Final development LAC functionality.
Fix Possible ring buffer overflow.
This commit is contained in:
parent
0834bba08e
commit
35f10d93f4
7 changed files with 80 additions and 23 deletions
2
ppp.c
2
ppp.c
|
|
@ -558,7 +558,7 @@ void processlcp(sessionidt s, tunnelidt t, uint8_t *p, uint16_t l)
|
|||
if (session[s].die) // going down...
|
||||
return;
|
||||
|
||||
LOG((*p == EchoReq || *p == EchoReply) ? 4 : 3, s, t,
|
||||
LOG(((*p == EchoReq || *p == EchoReply) ? 4 : 3), s, t,
|
||||
"LCP: recv %s\n", ppp_code(*p));
|
||||
|
||||
if (config->debug > 3) dumplcp(p, l);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue