From c521b3ac324e1c97b22581a06172dcb08fd740f6 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 14 Jun 2017 17:02:11 +0200 Subject: RAdv: Update to new timers --- proto/radv/radv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/radv/radv.h') diff --git a/proto/radv/radv.h b/proto/radv/radv.h index 35eea9ba..a4429c60 100644 --- a/proto/radv/radv.h +++ b/proto/radv/radv.h @@ -30,7 +30,7 @@ #define ICMPV6_RA 134 #define MAX_INITIAL_RTR_ADVERTISEMENTS 3 -#define MAX_INITIAL_RTR_ADVERT_INTERVAL 16 +#define MAX_INITIAL_RTR_ADVERT_INTERVAL (16 S_) #define DEFAULT_MAX_RA_INT 600 #define DEFAULT_MIN_DELAY 3 @@ -130,7 +130,7 @@ struct radv_iface struct object_lock *lock; sock *sk; - bird_clock_t last; /* Time of last sending of RA */ + btime last; /* Time of last sending of RA */ u16 plen; /* Length of prepared RA in tbuf, or 0 if not valid */ byte initial; /* List of active ifaces */ }; -- cgit v1.2.3