diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-22 03:18:05 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-22 03:18:05 +0000 |
commit | ecfdbedbc0e3bb9a610b6da08829f45aa3233d10 (patch) | |
tree | cae33a5a666e5400d1f7a2fb6bd17966ed411aef /usr.sbin/bgpd/session.c | |
parent | e41f28818352fca378f42f262ae9b466e4a970eb (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.c | 6 |
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 |