Device: Fix option 'primary'
This commit is contained in:
parent
8e25f7d229
commit
95639d9577
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue