diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-03-05 22:09:20 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-03-05 22:09:20 +0000 |
commit | 6bdf9c4a1b5351468cf3112db39a06c751a6652e (patch) | |
tree | 5c43cb4bf3da18779275c69ee6518d7d5f2f0a38 | |
parent | 698a001593930fc574026f0c5d919599879a7a1a (diff) |
bump cache timeout up a bit
-rw-r--r-- | sys/net/if_bridge.c | 4 | ||||
-rw-r--r-- | usr.sbin/brconfig/brconfig.8 | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 10fee3434a2..a77eee962f0 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.4 1999/03/05 21:10:52 jason Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.5 1999/03/05 22:09:18 jason Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -78,7 +78,7 @@ * Timeout (in seconds) for entries learned dynamically */ #ifndef BRIDGE_RTABLE_TIMEOUT -#define BRIDGE_RTABLE_TIMEOUT 30 +#define BRIDGE_RTABLE_TIMEOUT 240 #endif extern int ifqmaxlen; diff --git a/usr.sbin/brconfig/brconfig.8 b/usr.sbin/brconfig/brconfig.8 index c9201beb536..0ea89687926 100644 --- a/usr.sbin/brconfig/brconfig.8 +++ b/usr.sbin/brconfig/brconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: brconfig.8,v 1.5 1999/03/05 21:10:55 jason Exp $ +.\" $OpenBSD: brconfig.8,v 1.6 1999/03/05 22:09:19 jason Exp $ .\" .\" Copyright (c) 1999 Jason L. Wright (jason@thought.net) .\" All rights reserved. @@ -101,10 +101,10 @@ The default is 100 entries. .It Ar timeout time Set the timeout, in seconds, for addresses in the cache to .Cm time . -The default is 30 seconds. +The default is 240 seconds. If .Cm time -is set to zero, then entries will never expire. +is set to zero, then entries will not be expired. .It Ar link0 Setting this flag stops all non-IP multicast packets from being forwarded by the bridge. |