summaryrefslogtreecommitdiffstats
path: root/usr.sbin/relayctl/parser.h
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2007-09-07 08:33:31 +0000
committerreyk <reyk@openbsd.org>2007-09-07 08:33:31 +0000
commitfa0d847854056a3b54918baa214bcc60a955f502 (patch)
tree71755078fe2af1a3afe6accc70c1163668fa3e55 /usr.sbin/relayctl/parser.h
parentsimple style change in the switch (diff)
downloadwireguard-openbsd-fa0d847854056a3b54918baa214bcc60a955f502.tar.xz
wireguard-openbsd-fa0d847854056a3b54918baa214bcc60a955f502.zip
add a "show sessions" command to dump the complete list of running relay
sessions.
Diffstat (limited to 'usr.sbin/relayctl/parser.h')
-rw-r--r--usr.sbin/relayctl/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayctl/parser.h b/usr.sbin/relayctl/parser.h
index 0f9509f7dbf..1116677893c 100644
--- a/usr.sbin/relayctl/parser.h
+++ b/usr.sbin/relayctl/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.4 2007/02/22 03:32:40 reyk Exp $ */
+/* $OpenBSD: parser.h,v 1.5 2007/09/07 08:33:31 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -21,6 +21,7 @@ enum actions {
SHOW_SUM,
SHOW_HOSTS,
SHOW_RELAYS,
+ SHOW_SESSIONS,
SERV_DISABLE,
SERV_ENABLE,
TABLE_DISABLE,