summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/config.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-22 20:34:57 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-22 20:34:57 +0000
commit2d2140d9f143a293a04df5f751a36fda35c993c4 (patch)
tree7030735ccdddfb699ade95c68e659df7848df61b /usr.sbin/bgpd/config.c
parentc84df82899a1c70448d6b740531565ba632f0101 (diff)
use log_warnx and log_info. reclassify a few messages in the process and fix
a few messages. ok claudio@
Diffstat (limited to 'usr.sbin/bgpd/config.c')
-rw-r--r--usr.sbin/bgpd/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/config.c b/usr.sbin/bgpd/config.c
index 3e7e6aef8cf..56b0823d91a 100644
--- a/usr.sbin/bgpd/config.c
+++ b/usr.sbin/bgpd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.17 2004/01/07 01:15:54 henning Exp $ */
+/* $OpenBSD: config.c,v 1.18 2004/01/22 20:34:55 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -42,7 +42,7 @@ merge_config(struct bgpd_config *xconf, struct bgpd_config *conf,
/* merge conf (new) into xconf (old) */
if (!conf->as) {
- logit(LOG_CRIT, "configuration error: AS not given");
+ log_warnx("configuration error: AS not given");
return (1);
}
if (xconf->as != conf->as)