diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-05-29 22:41:49 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-05-29 22:41:49 +0000 |
commit | 9249900025fb71e4cb52e5135bf3709c87e6a550 (patch) | |
tree | 36baf4feb25f989210cf2671da2796ebdaf9fbf5 /usr.sbin | |
parent | 77d917fda794edf9be666478b77002009621d508 (diff) |
teach hoststatectl's parser about reload. the code to handle it is
already there. of course this is a dummy for now.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/hoststatectl/parser.c | 3 | ||||
-rw-r--r-- | usr.sbin/relayctl/parser.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/hoststatectl/parser.c b/usr.sbin/hoststatectl/parser.c index 3490043d865..70983b0d64a 100644 --- a/usr.sbin/hoststatectl/parser.c +++ b/usr.sbin/hoststatectl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.10 2007/02/22 03:32:40 reyk Exp $ */ +/* $OpenBSD: parser.c,v 1.11 2007/05/29 22:41:48 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.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, "reload", RELOAD, NULL}, {KEYWORD, "stop", SHUTDOWN, NULL}, {KEYWORD, "service", NONE, t_service}, {KEYWORD, "table", NONE, t_table}, diff --git a/usr.sbin/relayctl/parser.c b/usr.sbin/relayctl/parser.c index 3490043d865..70983b0d64a 100644 --- a/usr.sbin/relayctl/parser.c +++ b/usr.sbin/relayctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.10 2007/02/22 03:32:40 reyk Exp $ */ +/* $OpenBSD: parser.c,v 1.11 2007/05/29 22:41:48 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.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, "reload", RELOAD, NULL}, {KEYWORD, "stop", SHUTDOWN, NULL}, {KEYWORD, "service", NONE, t_service}, {KEYWORD, "table", NONE, t_table}, |