Commit 95639d95 authored by Ondřej Zajíček's avatar Ondřej Zajíček

Device: Fix option 'primary'

parent 8e25f7d2
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment