X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/133cd2a337a66ec28e13951c589adf2c0570d581..517c3509bfa1987dc91fc5c15f86fcb8e5a6f7ed:/garden.c?ds=sidebyside diff --git a/garden.c b/garden.c index 44b9597..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),