X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/b4ca67c68b8408f29144d78c75613715fab77741..b5273cc1c65f9496c1a7c2135b61979dd98fcf08:/garden.c diff --git a/garden.c b/garden.c index 30439f1..0b7d763 100644 --- a/garden.c +++ b/garden.c @@ -3,14 +3,15 @@ #include #include #include +#include +#include + #include "l2tpns.h" #include "plugin.h" #include "control.h" /* walled garden */ -char const *cvs_id = "$Id: garden.c,v 1.25 2006-02-23 01:07:23 bodea Exp $"; - int plugin_api_version = PLUGIN_API_VERSION; static struct pluginfuncs *f = 0; @@ -221,7 +222,7 @@ int garden_session(sessiont *s, int flag, char *newuser) /* Clean up counters */ s->pin = s->pout = 0; s->cin = s->cout = 0; - s->cin_delta = s->cout_delta = 0; + s->cin_delta = s->cout_delta = s->coutgrp_delta = 0; s->cin_wrap = s->cout_wrap = 0; snprintf(cmd, sizeof(cmd),