conf: shrink back RE_MAX_MATCHES to 16

with the IPv4 regex simplification from 22f059dc5e
we're back to max 15 match groups according to re2r analysis
(the most elaborate regex is the upstream one).
This commit is contained in:
rofl0r 2020-10-16 11:58:48 +01:00
parent dabfd1ad6c
commit 42bb446c96

View File

@ -45,7 +45,7 @@
* number. Given the usual structure of the configuration file, sixteen * number. Given the usual structure of the configuration file, sixteen
* substring matches should be plenty. * substring matches should be plenty.
*/ */
#define RE_MAX_MATCHES 24 #define RE_MAX_MATCHES 16
#define CP_WARN(FMT, ...) \ #define CP_WARN(FMT, ...) \
log_message (LOG_WARNING, "line %lu: " FMT, lineno, __VA_ARGS__) log_message (LOG_WARNING, "line %lu: " FMT, lineno, __VA_ARGS__)