l2tp: Increase queue size
So we can catch up according to the window that we announce.
This commit is contained in:
parent
b64ad7990b
commit
8b3ccb2ac5
1 changed files with 1 additions and 1 deletions
2
l2tpns.c
2
l2tpns.c
|
|
@ -4205,7 +4205,7 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr, uint16_t indexu
|
|||
t, ns, tunnel[t].nr);
|
||||
|
||||
if (tunnel[t].state == TUNNELOPEN
|
||||
&& ns - tunnel[t].nr <= 10 && len <= MAXCONTROL)
|
||||
&& ns - tunnel[t].nr <= CONTROLWIN && len <= MAXCONTROL)
|
||||
{
|
||||
// Not too big and not too new
|
||||
controlt **curp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue