diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-20 12:50:26 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-20 12:50:26 +0000 |
commit | 3833d3697698c891b6ab74fd31d5f66138ca5da8 (patch) | |
tree | 626f8b6f0ec1e2bc213d6cf9113573f6c3433b27 /usr.sbin/bgpd/control.c | |
parent | aa987d6660900878a0a0e0dc3bde27da0d8bdee6 (diff) |
fix error logging on connection attempts from !root user
Diffstat (limited to 'usr.sbin/bgpd/control.c')
-rw-r--r-- | usr.sbin/bgpd/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/control.c b/usr.sbin/bgpd/control.c index efdffa93881..e60f1fc2a45 100644 --- a/usr.sbin/bgpd/control.c +++ b/usr.sbin/bgpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.17 2004/01/17 18:05:46 henning Exp $ */ +/* $OpenBSD: control.c,v 1.18 2004/01/20 12:50:25 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -125,7 +125,7 @@ control_accept(int listenfd) } if (uid) { - log_err("Connection to control socket with uid %ld", uid); + logit(LOG_INFO, "Control connection attempt from uid %ld", uid); return; } |