diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-06-14 17:02:11 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-07 13:53:42 +0100 |
commit | c521b3ac324e1c97b22581a06172dcb08fd740f6 (patch) | |
tree | cc91f5fe3770aa9d557953599a1d49ce27486d86 /proto/radv/radv.h | |
parent | d59c1a295834aa5cc63aceb6769c8413fa0639fe (diff) |
RAdv: Update to new timers
Diffstat (limited to 'proto/radv/radv.h')
-rw-r--r-- | proto/radv/radv.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ }; |