bump MAXSESSION

This commit is contained in:
Brendan O'Dea 2005-02-09 02:39:05 +00:00
parent df834e98ff
commit d833d6c26a
2 changed files with 4 additions and 2 deletions

View file

@ -17,6 +17,8 @@
- Show time since last counter reset in "show counters". - Show time since last counter reset in "show counters".
- Remove "save_state" option. Not maintained anymore; use clustering - Remove "save_state" option. Not maintained anymore; use clustering
to retain state across restarts. 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 <bod@optusnet.com.au> 2.0.13 * Fri Dec 17 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.13
- Better cluster master collision resolution: keep a counter of state - Better cluster master collision resolution: keep a counter of state

View file

@ -1,5 +1,5 @@
// L2TPNS Global Stuff // 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__ #ifndef __L2TPNS_H__
#define __L2TPNS_H__ #define __L2TPNS_H__
@ -19,7 +19,7 @@
// Limits // Limits
#define MAXTUNNEL 500 // could be up to 65535 #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 MAXTBFS 6000 // Maximum token bucket filters. Might need up to 2 * session.
#define RADIUS_SHIFT 5 #define RADIUS_SHIFT 5