summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated/parse.y
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-03-07 17:40:33 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-03-07 17:40:33 +0000
commit577a9f29e7e7f9565e573a6e48ac3061cd90b62f (patch)
tree7e0055f153507b08335847a83f8b18947c30eb46 /usr.sbin/hoststated/parse.y
parentf38341b9ce7dd7d1de01b260afd7330c7ec160ad (diff)
- fix the hoststatectl host disable/enable commands to work with relay
layer 7 loadbalancing. - allow to run relays with tables without depending on services - show hosts and tables assigned to relays in hoststatectl show commands ok pyr@ deraadt@ with some input from mcbride@
Diffstat (limited to 'usr.sbin/hoststated/parse.y')
-rw-r--r--usr.sbin/hoststated/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/hoststated/parse.y b/usr.sbin/hoststated/parse.y
index 18cfa36c18c..996994ce8a6 100644
--- a/usr.sbin/hoststated/parse.y
+++ b/usr.sbin/hoststated/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.34 2007/03/06 19:26:46 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.35 2007/03/07 17:40:32 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -929,6 +929,7 @@ relayoptsl : LISTEN ON STRING port optssl {
rlay->dsttable = dsttable;
rlay->dstmode = $3;
rlay->dstcheck = $4;
+ rlay->dsttable->flags |= F_USED;
}
| PROTO STRING {
struct protocol *p;