X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/97119ee512f1cfa772abbd76fa83271ea26bdb4b..d2848cebc450b4d1e66a4b7bf290167f2870b618:/l2tpns.c diff --git a/l2tpns.c b/l2tpns.c index 84acb68..3b61951 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -4,8 +4,6 @@ // Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced // vim: sw=8 ts=8 -char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.175 2010-03-25 05:24:23 bodea Exp $"; - #include #include #include @@ -3033,7 +3031,7 @@ static void regular_cleanups(double period) if (tunnel[t].retry <= TIME) { controlt *c = tunnel[t].controls; - uint8_t w = tunnel[t].window; + uint16_t w = tunnel[t].window; tunnel[t].try++; // another try if (tunnel[t].try > 5) tunnelkill(t, "Timeout on control message"); // game over