X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/af353b1e1ea5b28df859ce5653dd5394bd7f6ec5..7d193dfb51ba1e81499985d23e5880740401bf39:/l2tpns.c diff --git a/l2tpns.c b/l2tpns.c index e65a9c1..a55854a 100644 --- 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 -char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.73.2.5 2005/02/14 06:00:57 bodea Exp $"; +char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.73.2.6 2005/04/01 06:37:19 bodea Exp $"; #include #include @@ -1108,7 +1108,7 @@ void sessionshutdown(sessionidt s, char *reason) run_plugins(PLUGIN_KILL_SESSION, &data); } - if (session[s].opened && !walled_garden && !session[s].die) + if (session[s].ip && !walled_garden && !session[s].die) { // RADIUS Stop message uint16_t r = session[s].radius;