summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/connlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/extra/connlimit.c')
-rw-r--r--accel-pppd/extra/connlimit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/extra/connlimit.c b/accel-pppd/extra/connlimit.c
index 243634e7..dcfc2deb 100644
--- a/accel-pppd/extra/connlimit.c
+++ b/accel-pppd/extra/connlimit.c
@@ -49,6 +49,8 @@ int __export connlimit_check(uint64_t key)
it->ts = ts;
list_move(&it->entry, &items);
it->count = 0;
+ r = 0;
+ break;
}
it->count++;
if (it->count >= conf_burst) {