mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-21 17:21:53 +00:00
Device: Fix option 'primary'
This commit is contained in:
parent
8e25f7d229
commit
95639d9577
@ -94,6 +94,7 @@ kif_item:
|
|||||||
}
|
}
|
||||||
| PRIMARY opttext net_or_ipa {
|
| PRIMARY opttext net_or_ipa {
|
||||||
struct kif_primary_item *kpi = cfg_alloc(sizeof (struct kif_primary_item));
|
struct kif_primary_item *kpi = cfg_alloc(sizeof (struct kif_primary_item));
|
||||||
|
kpi->pattern = $2;
|
||||||
kpi->addr = $3;
|
kpi->addr = $3;
|
||||||
add_tail(&THIS_KIF->primary, &kpi->n);
|
add_tail(&THIS_KIF->primary, &kpi->n);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user