From 15800e168811f62cda4b4fbe58e2328b28aac43c Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Sun, 28 Feb 2021 20:52:50 +0100 Subject: [PATCH] Increase the number of legal reqs. Our ruleset upgrade code can add new requirements to existing requirement vectors. But requirement vectors can't be more than 20 requirements long. The existing requirement vector may already be that long. Increase the number of legal requirements in a requirement vector to 40, doubling it. See osdn #41661 --- common/fc_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/fc_types.h b/common/fc_types.h index 1c4654bdb3..c05ff58dee 100644 --- a/common/fc_types.h +++ b/common/fc_types.h @@ -356,7 +356,7 @@ struct action; /* Changing these will break network compatibility. */ #define SP_MAX 20 -#define MAX_NUM_REQS 20 +#define MAX_NUM_REQS 40 #define MAX_NUM_RULESETS 63 /* Used in the network protocol. */ #define MAX_RULESET_NAME_LENGTH 64 /* Used in the network protocol. */ -- 2.20.1