From 155c739d0769fd60a2f4901d334e2d8494880f81 Mon Sep 17 00:00:00 2001 From: Peter Hessler Date: Fri, 20 Jan 2017 08:37:49 +0000 Subject: correctly set our rx timer to be the required minimum, not the bare minimum the neighbor supports --- sys/net/bfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/net/bfd.c b/sys/net/bfd.c index 3438c12a97b..ff9a2885858 100644 --- a/sys/net/bfd.c +++ b/sys/net/bfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bfd.c,v 1.47 2017/01/19 23:18:29 phessler Exp $ */ +/* $OpenBSD: bfd.c,v 1.48 2017/01/20 08:37:48 phessler Exp $ */ /* * Copyright (c) 2016 Peter Hessler @@ -688,7 +688,7 @@ bfd_reset(struct bfd_config *bfd) bfd->bc_neighbor->bn_mult = 3; bfd->bc_mintx = bfd->bc_neighbor->bn_mintx; - bfd->bc_minrx = bfd->bc_neighbor->bn_rminrx; + bfd->bc_minrx = bfd->bc_neighbor->bn_req_rminrx; bfd->bc_multiplier = bfd->bc_neighbor->bn_mult; bfd->bc_minecho = 0; //XXX - BFD_SECOND; -- cgit v1.2.3