summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/hoststated/pfe.c4
-rw-r--r--usr.sbin/relayd/pfe.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/hoststated/pfe.c b/usr.sbin/hoststated/pfe.c
index 5584b5df928..2e82cf1e9aa 100644
--- a/usr.sbin/hoststated/pfe.c
+++ b/usr.sbin/hoststated/pfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfe.c,v 1.11 2007/02/06 08:45:46 pyr Exp $ */
+/* $OpenBSD: pfe.c,v 1.12 2007/02/06 08:46:31 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -496,14 +496,12 @@ pfe_sync(void)
{
struct service *service;
struct table *active;
- int backup;
struct ctl_id id;
struct imsg imsg;
bzero(&id, sizeof(id));
bzero(&imsg, sizeof(imsg));
TAILQ_FOREACH(service, &env->services, entry) {
- backup = (service->flags & F_BACKUP);
service->flags &= ~(F_BACKUP);
service->flags &= ~(F_DOWN);
diff --git a/usr.sbin/relayd/pfe.c b/usr.sbin/relayd/pfe.c
index 5584b5df928..2e82cf1e9aa 100644
--- a/usr.sbin/relayd/pfe.c
+++ b/usr.sbin/relayd/pfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfe.c,v 1.11 2007/02/06 08:45:46 pyr Exp $ */
+/* $OpenBSD: pfe.c,v 1.12 2007/02/06 08:46:31 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -496,14 +496,12 @@ pfe_sync(void)
{
struct service *service;
struct table *active;
- int backup;
struct ctl_id id;
struct imsg imsg;
bzero(&id, sizeof(id));
bzero(&imsg, sizeof(imsg));
TAILQ_FOREACH(service, &env->services, entry) {
- backup = (service->flags & F_BACKUP);
service->flags &= ~(F_BACKUP);
service->flags &= ~(F_DOWN);