Fix an error in the comparison direction of the ap->updating case of

in_rtqkill().

Submitted by: W. Richard Stevens
This commit is contained in:
Garrett Wollman 1995-06-21 19:48:53 +00:00
parent bac23a9f14
commit 43bed81d64

View File

@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: in_rmx.c,v 1.12 1995/03/19 14:29:01 davidg Exp $
* $Id: in_rmx.c,v 1.13 1995/05/30 08:09:31 rgrimes Exp $
*/
/*
@ -181,7 +181,7 @@ in_rtqkill(struct radix_node *rn, void *rock)
}
} else {
if(ap->updating
&& (time.tv_sec - rt->rt_rmx.rmx_expire
&& (rt->rt_rmx.rmx_expire - time.tv_sec
> rtq_reallyold)) {
rt->rt_rmx.rmx_expire = time.tv_sec
+ rtq_reallyold;