From 5c1ebe012e1bbfec52b4fba8b59edd355a7dff91 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Sun, 26 Jun 2022 14:11:08 +0200 Subject: [PATCH] Fixed forgotten preference handling in filters --- conf/confbase.Y | 2 +- filter/test.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index 9a83083c..58890cd6 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -173,7 +173,7 @@ expr_us: | expr US { $$ = $1 US_; } ; -toksym: FROM ; +toksym: FROM | PREFERENCE ; symbol: CF_SYM_UNDEFINED | CF_SYM_KNOWN | toksym ; symbol_known: CF_SYM_KNOWN | toksym ; diff --git a/filter/test.conf b/filter/test.conf index 21e7330f..eb9cc30c 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -1445,6 +1445,8 @@ bool t; rip_metric = 14; unset(rip_metric); + preference = 1234; + test_ca_int1 = 42; test_ca_ip2 = 1.3.5.7; test_ca_quad3 = 2.4.6.8;