]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add defaults
authorAlan T. DeKok <aland@freeradius.org>
Thu, 16 Jan 2025 21:29:12 +0000 (16:29 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 16 Jan 2025 21:29:12 +0000 (16:29 -0500)
src/modules/rlm_proxy_rate_limit/rlm_proxy_rate_limit.c

index f022aa92189f94f1d70e4ffcae51be423f4e038f..57b6db11b579213cbdcf431ae8d03c5b09f9a0d8 100644 (file)
@@ -121,8 +121,8 @@ struct rlm_proxy_rate_limit_s {
 static const CONF_PARSER module_config[] = {
        { "max_entries", FR_CONF_OFFSET(PW_TYPE_INTEGER, rlm_proxy_rate_limit_t, max_entries), "65536" },
        { "idle_timeout", FR_CONF_OFFSET(PW_TYPE_INTEGER, rlm_proxy_rate_limit_t, idle_timeout), "2" },
-       { "num_subtables", FR_CONF_OFFSET(PW_TYPE_INTEGER, rlm_proxy_rate_limit_t, num_subtables),  },
-       { "window", FR_CONF_OFFSET(PW_TYPE_INTEGER, rlm_proxy_rate_limit_t, window), },
+       { "num_subtables", FR_CONF_OFFSET(PW_TYPE_INTEGER, rlm_proxy_rate_limit_t, num_subtables), "256" },
+       { "window", FR_CONF_OFFSET(PW_TYPE_INTEGER, rlm_proxy_rate_limit_t, window), 1},
        CONF_PARSER_TERMINATOR
 };