summaryrefslogtreecommitdiffstats
path: root/usr.sbin/relayctl/parser.c
diff options
context:
space:
mode:
authorpyr <pyr@openbsd.org>2007-02-01 20:03:38 +0000
committerpyr <pyr@openbsd.org>2007-02-01 20:03:38 +0000
commit1569a65f375fe097169b34aee7bf76bb392187ed (patch)
treedba57816e74626e843085cf4df3bb534d1e9bc8a /usr.sbin/relayctl/parser.c
parentcorrect rfc; from Kris Katterjohn (diff)
downloadwireguard-openbsd-1569a65f375fe097169b34aee7bf76bb392187ed.tar.xz
wireguard-openbsd-1569a65f375fe097169b34aee7bf76bb392187ed.zip
add a monitor mode to hoststatectl to continuously report changes in
hoststated. ok reyk@, "looks nice and clean" niallo@
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 aca5a16c9e9..3347f2639f0 100644
--- a/usr.sbin/relayctl/parser.c
+++ b/usr.sbin/relayctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.7 2007/01/29 14:23:31 pyr Exp $ */
+/* $OpenBSD: parser.c,v 1.8 2007/02/01 20:03:38 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -63,6 +63,7 @@ static const struct token t_table_id[];
static const struct token t_host_id[];
static const struct token t_main[] = {
+ {KEYWORD, "monitor", MONITOR, NULL},
{KEYWORD, "show", SHOW_SUM, NULL},
{KEYWORD, "stop", SHUTDOWN, NULL},
{KEYWORD, "service", NULL, t_service},