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

Device: Fix option 'primary'

This commit is contained in:
Ondrej Zajicek (work) 2017-05-03 12:56:17 +02:00
parent 8e25f7d229
commit 95639d9577

View File

@ -94,6 +94,7 @@ kif_item:
}
| PRIMARY opttext net_or_ipa {
struct kif_primary_item *kpi = cfg_alloc(sizeof (struct kif_primary_item));
kpi->pattern = $2;
kpi->addr = $3;
add_tail(&THIS_KIF->primary, &kpi->n);
}