diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-02-12 10:39:49 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-02-12 10:39:49 +0000 |
commit | 3fe104bf4f7c651830ada73d37e4fe8913833df4 (patch) | |
tree | 562abfd5b479f0b15e665c34c98fb0bc7f059afb | |
parent | 78ed51d3b881728a91385a4f969e906c068c62a4 (diff) |
spacing
-rw-r--r-- | usr.sbin/hoststated/check_icmp.c | 8 | ||||
-rw-r--r-- | usr.sbin/relayd/check_icmp.c | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/usr.sbin/hoststated/check_icmp.c b/usr.sbin/hoststated/check_icmp.c index ce83f7de214..8dd77cdeddf 100644 --- a/usr.sbin/hoststated/check_icmp.c +++ b/usr.sbin/hoststated/check_icmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: check_icmp.c,v 1.12 2007/01/29 14:23:31 pyr Exp $ */ +/* $OpenBSD: check_icmp.c,v 1.13 2007/02/12 10:39:48 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> @@ -123,7 +123,8 @@ icmp_checks_done(struct ctl_icmp_event *cie) if (table->flags & F_DISABLE || table->check != CHECK_ICMP) continue; TAILQ_FOREACH(host, &table->hosts, entry) { - if (((struct sockaddr *)&host->ss)->sa_family != cie->af) + if (((struct sockaddr *)&host->ss)->sa_family != + cie->af) continue; if (!(host->flags & F_CHECK_DONE)) return (0); @@ -142,7 +143,8 @@ icmp_checks_timeout(struct ctl_icmp_event *cie, const char *msg) if (table->flags & F_DISABLE || table->check != CHECK_ICMP) continue; TAILQ_FOREACH(host, &table->hosts, entry) { - if (((struct sockaddr *)&host->ss)->sa_family != cie->af) + if (((struct sockaddr *)&host->ss)->sa_family != + cie->af) continue; if (!(host->flags & F_CHECK_DONE)) host->up = HOST_DOWN; diff --git a/usr.sbin/relayd/check_icmp.c b/usr.sbin/relayd/check_icmp.c index ce83f7de214..8dd77cdeddf 100644 --- a/usr.sbin/relayd/check_icmp.c +++ b/usr.sbin/relayd/check_icmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: check_icmp.c,v 1.12 2007/01/29 14:23:31 pyr Exp $ */ +/* $OpenBSD: check_icmp.c,v 1.13 2007/02/12 10:39:48 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> @@ -123,7 +123,8 @@ icmp_checks_done(struct ctl_icmp_event *cie) if (table->flags & F_DISABLE || table->check != CHECK_ICMP) continue; TAILQ_FOREACH(host, &table->hosts, entry) { - if (((struct sockaddr *)&host->ss)->sa_family != cie->af) + if (((struct sockaddr *)&host->ss)->sa_family != + cie->af) continue; if (!(host->flags & F_CHECK_DONE)) return (0); @@ -142,7 +143,8 @@ icmp_checks_timeout(struct ctl_icmp_event *cie, const char *msg) if (table->flags & F_DISABLE || table->check != CHECK_ICMP) continue; TAILQ_FOREACH(host, &table->hosts, entry) { - if (((struct sockaddr *)&host->ss)->sa_family != cie->af) + if (((struct sockaddr *)&host->ss)->sa_family != + cie->af) continue; if (!(host->flags & F_CHECK_DONE)) host->up = HOST_DOWN; |