diff options
author | 2000-06-26 23:16:37 +0000 | |
---|---|---|
committer | 2000-06-26 23:16:37 +0000 | |
commit | f146741388fa467e498111bc4b9b5b28106d2181 (patch) | |
tree | df27bbd5ce9458dc380804163e24a784a7c965da | |
parent | New timeouts. (diff) | |
download | wireguard-openbsd-f146741388fa467e498111bc4b9b5b28106d2181.tar.xz wireguard-openbsd-f146741388fa467e498111bc4b9b5b28106d2181.zip |
timeout is in seconds, not ticks.
-rw-r--r-- | sys/net/if_bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 1f46d2f10bc..5c90258dd75 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.34 2000/06/22 19:00:21 art Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.35 2000/06/26 23:16:37 art Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -457,7 +457,7 @@ bridge_ioctl(ifp, cmd, data) sc->sc_brttimeout = bcacheto->ifbct_time; timeout_del(&sc->sc_brtimeout); if (bcacheto->ifbct_time != 0) - timeout_add(&sc->sc_brtimeout, sc->sc_brttimeout); + timeout_add(&sc->sc_brtimeout, sc->sc_brttimeout * hz); break; case SIOCBRDGGTO: bcacheto->ifbct_time = sc->sc_brttimeout; |