summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated/hoststated.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-02-26 11:59:49 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-02-26 11:59:49 +0000
commit52c6961ab92b67d820cf2103d3fa2ce0d5f99f16 (patch)
tree96171dc1bcdc50ada20f8144b0898bdfe1da1b5d /usr.sbin/hoststated/hoststated.h
parentc1e466089148d8e00bcf277c18f13c056deea6d6 (diff)
re-use the retry value from table host entries for inbound relay
connections. the relay will retry to connect to the hosts for the specified number of times. this sounds bad, but is a useful "workaround" for unreliable backend servers...
Diffstat (limited to 'usr.sbin/hoststated/hoststated.h')
-rw-r--r--usr.sbin/hoststated/hoststated.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h
index 4f03c3247e1..bd3abbbe1c3 100644
--- a/usr.sbin/hoststated/hoststated.h
+++ b/usr.sbin/hoststated/hoststated.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststated.h,v 1.31 2007/02/25 14:57:09 reyk Exp $ */
+/* $OpenBSD: hoststated.h,v 1.32 2007/02/26 11:59:48 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -337,6 +337,7 @@ struct session {
struct timeval tv_start;
struct timeval tv_last;
int done;
+ int retry;
struct evbuffer *log;
void *relay;
struct ctl_natlook *cnl;