summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-06-14 13:15:35 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-12-07 13:52:21 +0100
commit21f4f0f4b0785e30ce2af4741ffa6f2ebdd7d714 (patch)
treedc21f2583473d4e8fff11f2940c87cc258ec3053 /sysdep/unix/krt.h
parentd3fa9e84e98d7b8c726f5e35d6a359971eb98f94 (diff)
Kernel: Update to new timers
Diffstat (limited to 'sysdep/unix/krt.h')
-rw-r--r--sysdep/unix/krt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/krt.h b/sysdep/unix/krt.h
index 39e16a2a..eda83b91 100644
--- a/sysdep/unix/krt.h
+++ b/sysdep/unix/krt.h
@@ -46,8 +46,8 @@ extern struct protocol proto_unix_kernel;
struct krt_config {
struct proto_config c;
struct krt_params sys; /* Sysdep params */
+ btime scan_time; /* How often we re-scan routes */
int persist; /* Keep routes when we exit */
- int scan_time; /* How often we re-scan routes */
int learn; /* Learn routes from other sources */
int devroutes; /* Allow export of device routes */
int graceful_restart; /* Regard graceful restart recovery */
@@ -100,7 +100,7 @@ struct kif_config {
struct kif_params sys; /* Sysdep params */
list iface_list; /* List of iface configs (struct kif_iface_config) */
- int scan_time; /* How often we re-scan interfaces */
+ btime scan_time; /* How often we re-scan interfaces */
};
struct kif_iface_config {