projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
63f4e05
)
fix logging of invalid type
release_2_0_9
author
bodea
<bodea>
Tue, 30 Nov 2004 07:14:45 +0000
(07:14 +0000)
committer
bodea
<bodea>
Tue, 30 Nov 2004 07:14:45 +0000
(07:14 +0000)
autothrottle.c
patch
|
blob
|
history
diff --git
a/autothrottle.c
b/autothrottle.c
index
a1bd936
..
3d4e6d0
100644
(file)
--- a/
autothrottle.c
+++ b/
autothrottle.c
@@
-4,7
+4,7
@@
/* set up throttling based on RADIUS reply */
/* set up throttling based on RADIUS reply */
-char const *cvs_id = "$Id: autothrottle.c,v 1.1
2 2004/11/30 05:49:47
bodea Exp $";
+char const *cvs_id = "$Id: autothrottle.c,v 1.1
3 2004/11/30 07:14:45
bodea Exp $";
int plugin_api_version = PLUGIN_API_VERSION;
struct pluginfuncs *p;
int plugin_api_version = PLUGIN_API_VERSION;
struct pluginfuncs *p;
@@
-31,7
+31,7
@@
int plugin_radius_response(struct param_radius_response *data)
strncmp("output", data->value, sp - data->value)))
{
p->log(3, p->get_id_by_session(data->s), data->s->tunnel,
strncmp("output", data->value, sp - data->value)))
{
p->log(3, p->get_id_by_session(data->s), data->s->tunnel,
- " Not throttling user (invalid type %s)\n",
+ " Not throttling user (invalid type %
.*
s)\n",
sp - data->value, data->value);
return PLUGIN_RET_OK;
sp - data->value, data->value);
return PLUGIN_RET_OK;