summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/control.c
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-02-15 10:32:24 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-02-15 10:32:24 +0000
commit0f970a41753689486aa101b9be3eb12f3421f1a1 (patch)
tree3f86f4f5e8099e9276f0adf4f2be209dea13547e /usr.sbin/smtpd/control.c
parent877d1aa70b2c58e7d05e67975931b87ad6006172 (diff)
New config.c that allows for process cloning. Done by pyr@ for
relayd at n2k9, and adapted to smtpd; ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/control.c')
-rw-r--r--usr.sbin/smtpd/control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/control.c b/usr.sbin/smtpd/control.c
index 2dafdf100b4..d7ab5f12d6b 100644
--- a/usr.sbin/smtpd/control.c
+++ b/usr.sbin/smtpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.11 2009/01/29 21:59:15 jacekm Exp $ */
+/* $OpenBSD: control.c,v 1.12 2009/02/15 10:32:23 jacekm Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -164,6 +164,7 @@ control(struct smtpd *env)
TAILQ_INIT(&ctl_conns);
+ config_pipes(env, peers, 5);
config_peers(env, peers, 5);
control_listen(env);
event_dispatch();