diff options
author | 2007-11-20 15:37:24 +0000 | |
---|---|---|
committer | 2007-11-20 15:37:24 +0000 | |
commit | 50cbd9dfdf30c7800bc3b6b79121cb2a99ac230d (patch) | |
tree | f4136fddea6c46eca5e0d0bcd41ecba62d0eeaf5 /usr.sbin/hoststatectl/parser.c | |
parent | another fix to handle "expect" and "filter" actions in the new style (diff) | |
download | wireguard-openbsd-50cbd9dfdf30c7800bc3b6b79121cb2a99ac230d.tar.xz wireguard-openbsd-50cbd9dfdf30c7800bc3b6b79121cb2a99ac230d.zip |
NULL != NONE (but both equal 0)
Diffstat (limited to 'usr.sbin/hoststatectl/parser.c')
-rw-r--r-- | usr.sbin/hoststatectl/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststatectl/parser.c b/usr.sbin/hoststatectl/parser.c index ee5451c8982..0ee00021098 100644 --- a/usr.sbin/hoststatectl/parser.c +++ b/usr.sbin/hoststatectl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.14 2007/10/19 12:08:55 pyr Exp $ */ +/* $OpenBSD: parser.c,v 1.15 2007/11/20 15:37:24 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -65,7 +65,7 @@ static const struct token t_host_id[]; static const struct token t_main[] = { {KEYWORD, "monitor", MONITOR, NULL}, - {KEYWORD, "show", NULL, t_show}, + {KEYWORD, "show", NONE, t_show}, {KEYWORD, "poll", POLL, NULL}, {KEYWORD, "reload", RELOAD, NULL}, {KEYWORD, "stop", SHUTDOWN, NULL}, |