diff options
author | kn <kn@cvs.openbsd.org> | 2019-06-24 21:36:54 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2019-06-24 21:36:54 +0000 |
commit | d730ff1f811552cc4da4f8c6b7ca8a986ac0614b (patch) | |
tree | ad19553f72b4de8fe95af3bdca4322e037cfb262 /sys/net/if_sppp.h | |
parent | 9f5e3c54e494c0083cd9cdda439ffbd1bb6581d0 (diff) |
Use timeout_add_sec(9)
Re-challenge timeouts are made up of single scalar factors which are
multiplied with the time unit lcp.timeout to compute the timeout period.
Simply reduce that unit of 1 * hz [ticks] to 1 [s] and use the appropiate
API.
OK mpi
Diffstat (limited to 'sys/net/if_sppp.h')
-rw-r--r-- | sys/net/if_sppp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_sppp.h b/sys/net/if_sppp.h index 5a7146f521b..9688699762c 100644 --- a/sys/net/if_sppp.h +++ b/sys/net/if_sppp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sppp.h,v 1.26 2017/01/24 10:08:30 krw Exp $ */ +/* $OpenBSD: if_sppp.h,v 1.27 2019/06/24 21:36:53 kn Exp $ */ /* $NetBSD: if_sppp.h,v 1.2.2.1 1999/04/04 06:57:39 explorer Exp $ */ /* @@ -110,7 +110,7 @@ struct slcp { u_long protos; /* bitmask of protos that are started */ u_char echoid; /* id of last keepalive echo request */ /* restart max values, see RFC 1661 */ - int timeout; + int timeout; /* seconds */ int max_terminate; int max_configure; int max_failure; |