summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-01-20 12:50:25 +0000
committerhenning <henning@openbsd.org>2004-01-20 12:50:25 +0000
commit319acad4337b3d54714d7b044e10680f39eae29b (patch)
treef6f074c17ce4d15263f3e41cf3963195ee1fb88d
parentlet XFS compile; miod ok (diff)
downloadwireguard-openbsd-319acad4337b3d54714d7b044e10680f39eae29b.tar.xz
wireguard-openbsd-319acad4337b3d54714d7b044e10680f39eae29b.zip
fix error logging on connection attempts from !root user
-rw-r--r--usr.sbin/bgpd/control.c4
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;
}