X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/5e337e7ed987bfca7a79cf57f60f54301315db9e..80308e88382d69baa14cef9b05b72d70263ec79a:/radius.c diff --git a/radius.c b/radius.c index 9eb00f5..63aeec1 100644 --- a/radius.c +++ b/radius.c @@ -1,6 +1,6 @@ // L2TPNS Radius Stuff -char const *cvs_id_radius = "$Id: radius.c,v 1.16 2004-11-27 21:10:51 bodea Exp $"; +char const *cvs_id_radius = "$Id: radius.c,v 1.17 2004-11-28 02:53:11 bodea Exp $"; #include #include @@ -573,7 +573,9 @@ void processrad(u8 *buf, int len, char socket_index) !strncmp(ip_filters[i].name, filter, l)) *f = i + 1; - if (!*f) + if (*f) + ip_filters[*f - 1].used++; + else LOG(3, 0, s, session[s].tunnel, " Unknown filter\n"); }