summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/control.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-10-25 19:46:32 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-10-25 19:46:32 +0000
commit83e490676031e78a91de19a4074dfc6ee4cf289a (patch)
tree3271b8b6d2748cd1466df52dd8145c025990f786 /usr.sbin/smtpd/control.c
parentefee805652ecec2e63c18dc2e63b1923a090349e (diff)
smtpctl reload is work in progress, do not expose it and make sure smtpd's
control process does not try to handle it. spotted and reported by martijn@bunix.org
Diffstat (limited to 'usr.sbin/smtpd/control.c')
-rw-r--r--usr.sbin/smtpd/control.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/control.c b/usr.sbin/smtpd/control.c
index 020160864fe..4a5768aa178 100644
--- a/usr.sbin/smtpd/control.c
+++ b/usr.sbin/smtpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.38 2009/09/18 00:04:26 jacekm Exp $ */
+/* $OpenBSD: control.c,v 1.39 2009/10/25 19:46:31 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -348,6 +348,7 @@ control_dispatch_ext(int fd, short event, void *arg)
imsg_compose_event(env->sc_ievs[PROC_RUNNER], IMSG_RUNNER_SCHEDULE, 0, 0, -1, s, sizeof(*s));
break;
}
+/*
case IMSG_CONF_RELOAD: {
struct reload r;
@@ -367,6 +368,7 @@ control_dispatch_ext(int fd, short event, void *arg)
imsg_compose_event(env->sc_ievs[PROC_PARENT], IMSG_CONF_RELOAD, 0, 0, -1, &r, sizeof(r));
break;
}
+*/
case IMSG_CTL_SHUTDOWN:
/* NEEDS_FIX */
log_debug("received shutdown request");