summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/krt-scan.Y
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/linux/krt-scan.Y')
-rw-r--r--sysdep/linux/krt-scan.Y6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/linux/krt-scan.Y b/sysdep/linux/krt-scan.Y
index fcdcfe6..d02df11 100644
--- a/sysdep/linux/krt-scan.Y
+++ b/sysdep/linux/krt-scan.Y
@@ -12,7 +12,7 @@ CF_HDR
CF_DECLS
-CF_KEYWORDS(LEARN, SCAN, TIME)
+CF_KEYWORDS(LEARN, ROUTE, SCAN, TIME)
CF_GRAMMAR
@@ -22,9 +22,9 @@ krt_scan_item:
LEARN bool {
((struct krt_proto *) this_proto)->scanopt.learn = $2;
}
- | SCAN TIME expr {
+ | ROUTE SCAN TIME expr {
/* Scan time of 0 means scan on startup only */
- ((struct krt_proto *) this_proto)->scanopt.recurrence = $3;
+ ((struct krt_proto *) this_proto)->scanopt.scan_time = $4;
}
;