From: bodea Date: Wed, 9 Feb 2005 02:39:05 +0000 (+0000) Subject: bump MAXSESSION X-Git-Tag: release_2_1_0~72 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/cd2e983aafc5ffa2358af76eab880be20b37839a?ds=inline bump MAXSESSION --- diff --git a/Changes b/Changes index 66ff22a..ce39428 100644 --- a/Changes +++ b/Changes @@ -17,6 +17,8 @@ - Show time since last counter reset in "show counters". - Remove "save_state" option. Not maintained anymore; use clustering to retain state across restarts. +- Fix off-by-one in session/tunnel table initialisation. +- Bump MAXSESSION to 60K. * Fri Dec 17 2004 Brendan O'Dea 2.0.13 - Better cluster master collision resolution: keep a counter of state diff --git a/l2tpns.h b/l2tpns.h index 770e252..38ac331 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -1,5 +1,5 @@ // L2TPNS Global Stuff -// $Id: l2tpns.h,v 1.55 2005/02/09 00:16:19 bodea Exp $ +// $Id: l2tpns.h,v 1.56 2005/02/09 02:39:05 bodea Exp $ #ifndef __L2TPNS_H__ #define __L2TPNS_H__ @@ -19,7 +19,7 @@ // Limits #define MAXTUNNEL 500 // could be up to 65535 -#define MAXSESSION 50000 // could be up to 65535 +#define MAXSESSION 60000 // could be up to 65535 #define MAXTBFS 6000 // Maximum token bucket filters. Might need up to 2 * session. #define RADIUS_SHIFT 5