summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}