projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clear cluster_master on election so that slaves will accept a new master
[l2tpns.git]
/
garden.c
diff --git
a/garden.c
b/garden.c
index
1fa11b3
..
ff8978d
100644
(file)
--- a/
garden.c
+++ b/
garden.c
@@
-9,7
+9,7
@@
/* walled garden */
/* walled garden */
-char const *cvs_id = "$Id: garden.c,v 1.
19 2004/12/01 02:52:46
bodea Exp $";
+char const *cvs_id = "$Id: garden.c,v 1.
20.2.1 2005/05/07 03:51:20
bodea Exp $";
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *p = 0;
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *p = 0;
@@
-213,8
+213,8
@@
int garden_session(sessiont *s, int flag)
if (flag != F_CLEANUP)
{
/* OK, we're up! */
if (flag != F_CLEANUP)
{
/* OK, we're up! */
- u
16
r = p->radiusnew(p->get_id_by_session(s));
- p->radiussend(r, RADIUSSTART);
+ u
int16_t
r = p->radiusnew(p->get_id_by_session(s));
+
if (r)
p->radiussend(r, RADIUSSTART);
}
}
}
}