projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e020fbb
)
remove old compatability code
author
bodea
<bodea>
Mon, 4 Jul 2005 05:49:46 +0000
(
05:49
+0000)
committer
bodea
<bodea>
Mon, 4 Jul 2005 05:49:46 +0000
(
05:49
+0000)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
45ed04f
..
67fc844
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-4,7
+4,7
@@
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
// 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.11
3 2005/06/28 14:48:20
bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.11
4 2005/07/04 05:49:46
bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
#include <arpa/inet.h>
#include <assert.h>
@@
-4531,12
+4531,6
@@
int load_session(sessionidt s, sessiont *new)
// for walking the sessions to forward byte counts to the master.
config->cluster_highest_sessionid = s;
// for walking the sessions to forward byte counts to the master.
config->cluster_highest_sessionid = s;
- // TEMP: old session struct used a uint32_t to define the throttle
- // speed for both up/down, new uses a uint16_t for each. Deal with
- // sessions from an old master for migration.
- if (new->throttle_out == 0 && new->tbf_out)
- new->throttle_out = new->throttle_in;
-
memcpy(&session[s], new, sizeof(session[s])); // Copy over..
// Do fixups into address pool.
memcpy(&session[s], new, sizeof(session[s])); // Copy over..
// Do fixups into address pool.