summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-31 03:26:37 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-31 03:26:37 +0000
commit1e775c3844c80b460b38a0871d3e0b2acf2e5a62 (patch)
tree63dbc9d1746a4371c1605052ee672e7a4d7426b0 /usr.sbin
parente0c87a2a261da83b26637fbba641ab2cd032b463 (diff)
some silly debug code snuck in.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hoststated/hce.c8
-rw-r--r--usr.sbin/relayd/hce.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/usr.sbin/hoststated/hce.c b/usr.sbin/hoststated/hce.c
index 217f9f5bdd2..7bb7d8c38c2 100644
--- a/usr.sbin/hoststated/hce.c
+++ b/usr.sbin/hoststated/hce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hce.c,v 1.23 2007/05/31 03:24:05 pyr Exp $ */
+/* $OpenBSD: hce.c,v 1.24 2007/05/31 03:26:36 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -206,7 +206,6 @@ hce_launch_checks(int fd, short event, void *arg)
struct table *table;
struct timeval tv;
- log_warnx("new check suite");
/*
* notify pfe checks are done and schedule next check
*/
@@ -221,18 +220,13 @@ hce_launch_checks(int fd, short event, void *arg)
if (gettimeofday(&tv, NULL))
fatal("hce_launch_checks: gettimeofday");
- log_warnx("setting up checks");
-
TAILQ_FOREACH(table, env->tables, entry) {
- log_warnx("setting up %s", table->conf.name);
if (table->conf.flags & F_DISABLE)
continue;
if (table->conf.check == CHECK_NOCHECK)
fatalx("hce_launch_checks: unknown check type");
TAILQ_FOREACH(host, &table->hosts, entry) {
- log_warnx("setting up %s.%s", table->conf.name,
- host->conf.name);
if (host->flags & F_DISABLE)
continue;
switch (table->conf.check) {
diff --git a/usr.sbin/relayd/hce.c b/usr.sbin/relayd/hce.c
index 217f9f5bdd2..7bb7d8c38c2 100644
--- a/usr.sbin/relayd/hce.c
+++ b/usr.sbin/relayd/hce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hce.c,v 1.23 2007/05/31 03:24:05 pyr Exp $ */
+/* $OpenBSD: hce.c,v 1.24 2007/05/31 03:26:36 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -206,7 +206,6 @@ hce_launch_checks(int fd, short event, void *arg)
struct table *table;
struct timeval tv;
- log_warnx("new check suite");
/*
* notify pfe checks are done and schedule next check
*/
@@ -221,18 +220,13 @@ hce_launch_checks(int fd, short event, void *arg)
if (gettimeofday(&tv, NULL))
fatal("hce_launch_checks: gettimeofday");
- log_warnx("setting up checks");
-
TAILQ_FOREACH(table, env->tables, entry) {
- log_warnx("setting up %s", table->conf.name);
if (table->conf.flags & F_DISABLE)
continue;
if (table->conf.check == CHECK_NOCHECK)
fatalx("hce_launch_checks: unknown check type");
TAILQ_FOREACH(host, &table->hosts, entry) {
- log_warnx("setting up %s.%s", table->conf.name,
- host->conf.name);
if (host->flags & F_DISABLE)
continue;
switch (table->conf.check) {