Skip to contentSkip to conversation

expression: update EXPR_MAX to EXPR_RANGE_SYMBOL

PATCH New Pablo Neira Ayuso 1 participant 1 message Mar 26, 2025 netfilter

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 expression: update EXPR_MAX to EXPR_RANGE_SYMBOL

EXPR_MAX was never updated to the newest expression.

Fixes 347039f64509 ("src: add symbol range expression to further compact intervals")

---
This patch goes before this series:

src: remove flagcmp expression
src: transform flag match expression to binop expression from parser
optimize: compact bitmask matching in set/map
optimize: incorrect comparison for reject statement

 include/expression.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/expression.h +1 -1
index 8472748621ef..d3f2bab11957 100644
@@ -85,7 +85,7 @@ enum expr_types {
 	EXPR_RANGE_VALUE,
 	EXPR_RANGE_SYMBOL,
 
-	EXPR_MAX = EXPR_FLAGCMP
+	EXPR_MAX = EXPR_RANGE_SYMBOL
 };
 
 enum ops {
Signature · 1 line
2.30.2