From 9391284c7ceb0c211655eeb59f843c7b00933782 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 3 Aug 2022 08:56:23 +0000 Subject: [PATCH] Add comment that NEXTHOP_FLAPPED is only set on oldstate of a nexthop. --- usr.sbin/bgpd/rde.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 8d85e997032..0160f6b7f59 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.261 2022/07/28 13:11:51 deraadt Exp $ */ +/* $OpenBSD: rde.h,v 1.262 2022/08/03 08:56:23 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker and @@ -240,7 +240,7 @@ enum nexthop_state { NEXTHOP_LOOKUP, NEXTHOP_UNREACH, NEXTHOP_REACH, - NEXTHOP_FLAPPED + NEXTHOP_FLAPPED /* only used by oldstate */ }; struct nexthop { -- 2.20.1