summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/net/bfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bfd.c b/sys/net/bfd.c
index d8059541932..9d0c67098ed 100644
--- a/sys/net/bfd.c
+++ b/sys/net/bfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bfd.c,v 1.51 2017/01/20 09:18:52 phessler Exp $ */
+/* $OpenBSD: bfd.c,v 1.52 2017/01/20 10:18:52 phessler Exp $ */
/*
* Copyright (c) 2016 Peter Hessler <phessler@openbsd.org>
@@ -860,7 +860,7 @@ bfd_set_state(struct bfd_config *bfd, int state)
bfd->bc_neighbor->bn_ldiag = 0;
if (!rtisvalid(rt))
- bfd->bc_neighbor->bn_lstate = BFD_STATE_ADMINDOWN;
+ bfd->bc_neighbor->bn_lstate = BFD_STATE_DOWN;
switch (state) {
case BFD_STATE_ADMINDOWN: