projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix intercepts: don't double-snoop throttled customers, ensure
[l2tpns.git]
/
autothrottle.c
diff --git
a/autothrottle.c
b/autothrottle.c
index
65f3ff7
..
a9b5732
100644
(file)
--- a/
autothrottle.c
+++ b/
autothrottle.c
@@
-1,11
+1,10
@@
#include <string.h>
#include <string.h>
-#include <malloc.h>
-#include <stdlib.h>
-#include <sys/wait.h>
-#include <sys/types.h>
#include "l2tpns.h"
#include "plugin.h"
#include "l2tpns.h"
#include "plugin.h"
-#include "control.h"
+
+/* set up throttling based on RADIUS reply */
+
+char const *cvs_id = "$Id: autothrottle.c,v 1.7 2004-11-05 04:55:26 bodea Exp $";
int __plugin_api_version = 1;
struct pluginfuncs *p;
int __plugin_api_version = 1;
struct pluginfuncs *p;
@@
-85,8
+84,3
@@
int plugin_init(struct pluginfuncs *funcs)
{
return ((p = funcs)) ? 1 : 0;
}
{
return ((p = funcs)) ? 1 : 0;
}
-
-void plugin_done()
-{
-}
-