summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-22 03:18:05 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-22 03:18:05 +0000
commitecfdbedbc0e3bb9a610b6da08829f45aa3233d10 (patch)
treecae33a5a666e5400d1f7a2fb6bd17966ed411aef /usr.sbin/bgpd/session.c
parente41f28818352fca378f42f262ae9b466e4a970eb (diff)
s/log_err/log_warn/
it is like warn(3), nor err(3). so use a less confusing name.
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 650d4c9abd4..befdb4c8f5c 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.88 2004/01/17 18:05:46 henning Exp $ */
+/* $OpenBSD: session.c,v 1.89 2004/01/22 03:18:04 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -823,10 +823,10 @@ session_tcp_established(struct peer *peer)
session_socket_blockmode(peer->sock, BM_NORMAL);
if (getsockname(peer->sock, (struct sockaddr *)&peer->sa_local,
&len) == -1)
- log_err("getsockname");
+ log_warn("getsockname");
if (getpeername(peer->sock, (struct sockaddr *)&peer->sa_remote,
&len) == -1)
- log_err("getpeername");
+ log_warn("getpeername");
}
void