From c475e709d54116be4de1db072be4d4b4903ec4a9 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Tue, 2 Nov 2004 10:56:49 +0000 Subject: save the previous state in struct peer, claudio ok --- usr.sbin/bgpd/session.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bgpd/session.h') diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index f12507644b3..ca5367ca35e 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.64 2004/10/19 12:02:50 henning Exp $ */ +/* $OpenBSD: session.h,v 1.65 2004/11/02 10:56:48 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -168,6 +168,7 @@ struct peer { u_int32_t remote_bgpid; u_int16_t holdtime; enum session_state state; + enum session_state prev_state; time_t ConnectRetryTimer; time_t KeepaliveTimer; time_t HoldTimer; -- cgit v1.2.3