diff options
author | deraadt <deraadt@openbsd.org> | 2017-07-23 13:48:18 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2017-07-23 13:48:18 +0000 |
commit | 8ad6e9cf0276b43cec81e545e507d6a8532a9ad0 (patch) | |
tree | e1e454e4d6666eb1ecadae177e8dd3a4b37feb35 /usr.sbin/ifstated | |
parent | Cease pretending to support option 33 (classFULL static routes). They (diff) | |
download | wireguard-openbsd-8ad6e9cf0276b43cec81e545e507d6a8532a9ad0.tar.xz wireguard-openbsd-8ad6e9cf0276b43cec81e545e507d6a8532a9ad0.zip |
Time comparison variables should be time_t (I did check for signed vs
unsigned handling)
ok jca
Diffstat (limited to 'usr.sbin/ifstated')
-rw-r--r-- | usr.sbin/ifstated/ifstated.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ifstated/ifstated.h b/usr.sbin/ifstated/ifstated.h index c74fa315a0b..32cc462e253 100644 --- a/usr.sbin/ifstated/ifstated.h +++ b/usr.sbin/ifstated/ifstated.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ifstated.h,v 1.16 2017/07/04 21:04:14 benno Exp $ */ +/* $OpenBSD: ifstated.h,v 1.17 2017/07/23 13:48:18 deraadt Exp $ */ /* * Copyright (c) 2004 Ryan McBride @@ -52,7 +52,7 @@ struct ifsd_external { int prevstatus; u_int32_t frequency; u_int32_t refcount; - u_int32_t lastexec; + time_t lastexec; pid_t pid; }; @@ -110,7 +110,7 @@ struct ifsd_state { TAILQ_ENTRY(ifsd_state) entries; struct ifsd_action *init; struct ifsd_action *body; - u_int32_t entered; + time_t entered; char *name; }; |