summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-11-02 10:56:49 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-11-02 10:56:49 +0000
commitc475e709d54116be4de1db072be4d4b4903ec4a9 (patch)
tree809759e4437231fad6d06e4c47729de3ac59d2e4 /usr.sbin/bgpd/session.h
parent37d5753786c5fb2bb40cad2f1ecf5f991dc3c323 (diff)
save the previous state in struct peer, claudio ok
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h3
1 files changed, 2 insertions, 1 deletions
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 <henning@openbsd.org>
@@ -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;