summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/session.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 5bc2b072061..8ecf10aed3c 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.97 2004/01/28 17:57:08 henning Exp $ */
+/* $OpenBSD: session.c,v 1.98 2004/01/28 18:19:32 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -385,8 +385,10 @@ bgp_fsm(struct peer *peer, enum session_events event)
msgbuf_init(&peer->wbuf);
/* init pfkey */
- if (pfkey_auth_establish(peer) == -1)
+ if (pfkey_auth_establish(peer) == -1) {
+ log_warnx("pfkey_auth setup failed");
return;
+ }
if (peer->conf.passive) {
change_state(peer, STATE_ACTIVE, event);