summaryrefslogtreecommitdiff
path: root/usr.sbin/relayctl/parser.c
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-10-19 12:08:56 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-10-19 12:08:56 +0000
commit1919128b52ab85cdce80c42468da3dd2c2e24cc8 (patch)
tree5017385397d80aa13d325e26392cbc6715f386e8 /usr.sbin/relayctl/parser.c
parent606ce456a609f715d65446676b7212d3d4a28715 (diff)
Add the ability to schedule an immediate check through hoststatectl.
Especially useful when interval is rather long. I was supposed to commit this before 4.2.
Diffstat (limited to 'usr.sbin/relayctl/parser.c')
-rw-r--r--usr.sbin/relayctl/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayctl/parser.c b/usr.sbin/relayctl/parser.c
index dea2cb5f443..ee5451c8982 100644
--- a/usr.sbin/relayctl/parser.c
+++ b/usr.sbin/relayctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.13 2007/09/28 13:29:56 pyr Exp $ */
+/* $OpenBSD: parser.c,v 1.14 2007/10/19 12:08:55 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -66,6 +66,7 @@ static const struct token t_host_id[];
static const struct token t_main[] = {
{KEYWORD, "monitor", MONITOR, NULL},
{KEYWORD, "show", NULL, t_show},
+ {KEYWORD, "poll", POLL, NULL},
{KEYWORD, "reload", RELOAD, NULL},
{KEYWORD, "stop", SHUTDOWN, NULL},
{KEYWORD, "service", NONE, t_service},