diff options
author | Maria Matejka <mq@ucw.cz> | 2022-06-26 14:11:08 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-06-26 14:31:31 +0200 |
commit | 5c1ebe012e1bbfec52b4fba8b59edd355a7dff91 (patch) | |
tree | 32de21c30885a029e637c619aed43d52fa1ef847 | |
parent | 9c9059fd172dcc2f8805529de4b3174f280c109c (diff) |
Fixed forgotten preference handling in filters
-rw-r--r-- | conf/confbase.Y | 2 | ||||
-rw-r--r-- | filter/test.conf | 2 |
2 files changed, 3 insertions, 1 deletions
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; |