summaryrefslogtreecommitdiff
path: root/usr.sbin/relayctl/relayctl.c
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-29 23:19:19 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-29 23:19:19 +0000
commit6f0aa2bc0d2309a080e85b5470f4e466b941a8dc (patch)
treeea78ae79dde6e051ea7177a135474a13139ec134 /usr.sbin/relayctl/relayctl.c
parent3657b9f8de0def746e0c4241bee2fe4cc6f1e885 (diff)
allow the control handling code to send messages back to the parent.
forward IMSG_CTL_RELOAD which ends up not doing anything for now.
Diffstat (limited to 'usr.sbin/relayctl/relayctl.c')
-rw-r--r--usr.sbin/relayctl/relayctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayctl/relayctl.c b/usr.sbin/relayctl/relayctl.c
index d2e8f0b37fe..d4663156688 100644
--- a/usr.sbin/relayctl/relayctl.c
+++ b/usr.sbin/relayctl/relayctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayctl.c,v 1.18 2007/05/29 00:21:10 pyr Exp $ */
+/* $OpenBSD: relayctl.c,v 1.19 2007/05/29 23:19:18 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -212,10 +212,10 @@ main(int argc, char *argv[])
case TABLE_ENABLE:
case HOST_DISABLE:
case HOST_ENABLE:
- done = show_command_output(&imsg);
- break;
case RELOAD:
case SHUTDOWN:
+ done = show_command_output(&imsg);
+ break;
case NONE:
break;
case MONITOR: