summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-03 12:56:17 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-03 12:56:17 +0200
commit95639d957758cba04aeec7ef319c2de2a5ff52da (patch)
tree662c292ab7626a21233569c8d4e13f0f6194e027
parent8e25f7d229fcb6591e9cd96d3cc61767b3c8dea7 (diff)
Device: Fix option 'primary'
-rw-r--r--sysdep/unix/krt.Y1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/krt.Y b/sysdep/unix/krt.Y
index 33dc4a19..b261c91e 100644
--- a/sysdep/unix/krt.Y
+++ b/sysdep/unix/krt.Y
@@ -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);
}