summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2019-12-14 16:24:53 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2019-12-14 16:24:53 +0000
commite88a45c9e89362990c127ed46ac2d5edcd07f189 (patch)
tree85a76890219a276ca3e1844b30ff0b777b2ea209 /usr.sbin/smtpd/smtpd.h
parenta84f60b596dd83c5a5b444c9431619eabb81760d (diff)
introduce a bypass keyword so that builtin filters can bypass processing of
a phase when a condition is met suggested by several people including jung@, ok jung@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index acb8f5f5a3c..c41efbac737 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.644 2019/12/12 22:10:47 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.645 2019/12/14 16:24:52 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1061,6 +1061,7 @@ struct filter_config {
char *rewrite;
char *report;
uint8_t junk;
+ uint8_t bypass;
char *proc;
const char **chain;