diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-11-22 16:07:04 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-11-22 16:07:04 +0000 |
commit | 9571ef3180105a43f5f823ff867d5657771a282b (patch) | |
tree | d5be8e5be2faee9ae5c902b0d919b42783e9468e /usr.sbin/relayd/relayd.h | |
parent | 7abafbe7948887da7ef709612930fdb77ee8eed9 (diff) |
Fix relay roundrobin mode to work correctly when multiple hosts in a
table are down.
Thanks to Preston Norvell at serialssolutions dot com for reporting
the problem.
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r-- | usr.sbin/relayd/relayd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index b016a3a5283..83562c3a213 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.81 2007/11/22 10:09:53 reyk Exp $ */ +/* $OpenBSD: relayd.h,v 1.82 2007/11/22 16:07:03 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -327,6 +327,7 @@ struct host { u_long up_cnt; int retry_cnt; struct ctl_tcp_event cte; + int idx; }; TAILQ_HEAD(hostlist, host); |