X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/071f1d77ebc8cd92cc4896ad10959234910c2b7e..924f6f57c1d2844e150d0ee19fbab924f172cfec:/ppp.c diff --git a/ppp.c b/ppp.c index d1258cf..9a76d33 100644 --- a/ppp.c +++ b/ppp.c @@ -1,6 +1,6 @@ // L2TPNS PPP Stuff -char const *cvs_id_ppp = "$Id: ppp.c,v 1.53 2005/05/08 06:28:12 bodea Exp $"; +char const *cvs_id_ppp = "$Id: ppp.c,v 1.54 2005/05/10 00:56:12 bodea Exp $"; #include #include @@ -1308,6 +1308,8 @@ void sendlcp(tunnelidt t, sessionidt s, int authtype) *l++ = ConfigReq; *l++ = (time_now % 255) + 1; // ID + l += 2; //Save space for length + *l++ = 1; *l++ = 4; // Maximum-Receive-Unit (length 4) *(uint16_t *) l = htons(session[s].mru); l += 2;