diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-28 23:14:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-28 23:14:22 +0000 |
commit | f1d83228010ac7ddf1d7bcb8018f849d9374b98f (patch) | |
tree | 010bef6bac2424e6692f02a9682f6f1c432e6209 | |
parent | c685e56bb26f3119087ae98c28f5d05598ecb6df (diff) |
improve logging
-rw-r--r-- | usr.sbin/bgpd/session.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 6e84f62af9d..5de5b5dce5d 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.102 2004/01/28 22:12:33 henning Exp $ */ +/* $OpenBSD: session.c,v 1.103 2004/01/28 23:14:21 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -391,7 +391,8 @@ bgp_fsm(struct peer *peer, enum session_events event) /* init pfkey */ if (pfkey_auth_establish(peer) == -1) { - log_warnx("pfkey_auth setup failed"); + log_peer_warnx(&peer->conf, + "pfkey_auth setup failed"); return; } |