1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Implements primary address selection base on 'primary' option.

This commit is contained in:
Ondrej Zajicek
2009-05-29 22:49:30 +02:00
parent 51f4469f03
commit 874b868544
5 changed files with 94 additions and 17 deletions

View File

@@ -82,7 +82,7 @@ kif_item:
/* Scan time of 0 means scan on startup only */
THIS_KIF->scan_time = $3;
}
| PRIMARY TEXT prefix_or_ipa {
| PRIMARY text_or_none prefix_or_ipa {
struct kif_primary_item *kpi = cfg_alloc(sizeof (struct kif_primary_item));
kpi->pattern = $2;
kpi->prefix = $3.addr;