summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-27 17:25:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-27 17:25:53 +0000
commitc2f5b644f02aadc841cc453351e440a643679c18 (patch)
tree6ee55bde47734ea7bde88c5edc4df2d726a0672c /usr.sbin/bgpd
parentf2e8ebb57b4c79c2e9b7abd314620398aeb86b2c (diff)
repair
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/session.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index b6f949b5a16..9e23aa9dfb7 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.155 2004/04/27 04:38:12 deraadt Exp $ */
+/* $OpenBSD: session.c,v 1.156 2004/04/27 17:25:52 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -878,9 +878,8 @@ session_connect(struct peer *peer)
bgp_fsm(peer, EVNT_CON_OPENFAIL);
return (-1);
}
- }
-
- bgp_fsm(peer, EVNT_CON_OPEN);
+ } else
+ bgp_fsm(peer, EVNT_CON_OPEN);
return (0);
}