diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2017-01-20 08:37:49 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2017-01-20 08:37:49 +0000 |
commit | 155c739d0769fd60a2f4901d334e2d8494880f81 (patch) | |
tree | e24be588f269bce0cc2429edc8fb7327342c57a8 /sys | |
parent | c78cbe7fa58459319814c80e1a6de5fe7b1e18ea (diff) |
correctly set our rx timer to be the required minimum, not the bare
minimum the neighbor supports
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/bfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <phessler@openbsd.org> @@ -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; |