projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Foo
[l2tpns.git]
/
garden.c
diff --git
a/garden.c
b/garden.c
index
e9eecb2
..
c3ce34a
100644
(file)
--- a/
garden.c
+++ b/
garden.c
@@
-68,7
+68,7
@@
int plugin_control(struct param_control *data)
sprintf((data->response + data->response_length), "%s", errormsg);
data->response_length += strlen(errormsg) + 1;
sprintf((data->response + data->response_length), "%s", errormsg);
data->response_length += strlen(errormsg) + 1;
- p.log(3, 0, 0, 0, "Unknown session %
s
\n", session);
+ p.log(3, 0, 0, 0, "Unknown session %
d
\n", session);
return PLUGIN_RET_STOP;
}
*(short *)(data->response + 2) = ntohs(PKT_RESP_OK);
return PLUGIN_RET_STOP;
}
*(short *)(data->response + 2) = ntohs(PKT_RESP_OK);
@@
-149,7
+149,7
@@
int garden_session(sessiont *s, int flag)
if (!s->die) {
/* OK, we're up! */
if (!s->die) {
/* OK, we're up! */
- u
8
r = p.radiusnew(p.get_id_by_session(s));
+ u
16
r = p.radiusnew(p.get_id_by_session(s));
p.radiussend(r, RADIUSSTART);
}
}
p.radiussend(r, RADIUSSTART);
}
}