0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-18 09:08:42 +00:00

Fixed forgotten preference handling in filters

This commit is contained in:
Maria Matejka 2022-06-26 14:11:08 +02:00
parent 9c9059fd17
commit 5c1ebe012e
2 changed files with 3 additions and 1 deletions

View File

@ -173,7 +173,7 @@ expr_us:
| expr US { $$ = $1 US_; } | expr US { $$ = $1 US_; }
; ;
toksym: FROM ; toksym: FROM | PREFERENCE ;
symbol: CF_SYM_UNDEFINED | CF_SYM_KNOWN | toksym ; symbol: CF_SYM_UNDEFINED | CF_SYM_KNOWN | toksym ;
symbol_known: CF_SYM_KNOWN | toksym ; symbol_known: CF_SYM_KNOWN | toksym ;

View File

@ -1445,6 +1445,8 @@ bool t;
rip_metric = 14; rip_metric = 14;
unset(rip_metric); unset(rip_metric);
preference = 1234;
test_ca_int1 = 42; test_ca_int1 = 42;
test_ca_ip2 = 1.3.5.7; test_ca_ip2 = 1.3.5.7;
test_ca_quad3 = 2.4.6.8; test_ca_quad3 = 2.4.6.8;