From 95639d957758cba04aeec7ef319c2de2a5ff52da Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 3 May 2017 12:56:17 +0200 Subject: [PATCH] Device: Fix option 'primary' --- sysdep/unix/krt.Y | 1 + 1 file changed, 1 insertion(+) 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); }