From d833d6c26a2f6a503cbabbbad24b44da8b3dcf92 Mon Sep 17 00:00:00 2001 From: Brendan O'Dea Date: Wed, 9 Feb 2005 02:39:05 +0000 Subject: [PATCH] bump MAXSESSION --- Changes | 2 ++ l2tpns.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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 add806f..686607e 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 -- 2.20.1