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);
}