summaryrefslogtreecommitdiff
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.Y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/linux/krt-scan.Y b/sysdep/linux/krt-scan.Y
index d02df113..58339895 100644
--- a/sysdep/linux/krt-scan.Y
+++ b/sysdep/linux/krt-scan.Y
@@ -20,11 +20,11 @@ CF_ADDTO(kern_proto, kern_proto krt_scan_item ';')
krt_scan_item:
LEARN bool {
- ((struct krt_proto *) this_proto)->scanopt.learn = $2;
+ ((struct krt_config *) this_proto)->scanopt.learn = $2;
}
| ROUTE SCAN TIME expr {
/* Scan time of 0 means scan on startup only */
- ((struct krt_proto *) this_proto)->scanopt.scan_time = $4;
+ ((struct krt_config *) this_proto)->scanopt.scan_time = $4;
}
;