summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-10-10 20:29:47 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-10-10 20:29:47 +0000
commit50f98f5a49a7b92597776797ff315f5c8e778bf8 (patch)
tree8fd6aa210f5b46abbf5e432853707be1813488ad /usr.sbin
parent91b1663a227f50b0e2e3a33752e6a2a2ed57e4ef (diff)
F_BACKUP and ROUTE_BACKUP must be sync-ed for now, otherwise smtpd won't
work as a backup MX ... bug experienced by todd, verified and analyzed by eric
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 782473adba2..a24c62af654 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.384 2012/10/10 19:39:11 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.385 2012/10/10 20:29:46 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -83,7 +83,7 @@
#define F_STARTTLS_REQUIRE 0x08
#define F_AUTH_REQUIRE 0x10
-#define F_BACKUP 0x20 /* XXX */
+#define F_BACKUP 0x20 /* XXX - MUST BE SYNC-ED WITH ROUTE_BACKUP */
#define F_SCERT 0x01
#define F_CCERT 0x02
@@ -94,7 +94,7 @@
#define ROUTE_SSL (ROUTE_STARTTLS | ROUTE_SMTPS)
#define ROUTE_AUTH 0x04
#define ROUTE_MX 0x08
-#define ROUTE_BACKUP 0x10 /* XXX */
+#define ROUTE_BACKUP 0x20 /* XXX - MUST BE SYNC-ED WITH F_BACKUP */
typedef uint32_t objid_t;