summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-12-01 15:43:02 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-12-01 15:43:02 +0000
commit3608c1db63003f83db9fc1e5b1691ed74adb83b0 (patch)
treebf2dfff8960a5a40408626389f1c7645f6e14d63 /usr.sbin/smtpd
parented6d059a6a655012219ac2b5ef4becdd67c7e71d (diff)
update enum values in listen options
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/parse.y24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y
index 63619e538b7..adacd58d00f 100644
--- a/usr.sbin/smtpd/parse.y
+++ b/usr.sbin/smtpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.160 2015/12/01 10:57:24 gilles Exp $ */
+/* $OpenBSD: parse.y,v 1.161 2015/12/01 15:43:01 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -103,17 +103,17 @@ static struct pki *pki;
static struct ca *sca;
enum listen_options {
- LO_FAMILY = 0x01,
- LO_PORT = 0x02,
- LO_SSL = 0x04,
- LO_FILTER = 0x08,
- LO_PKI = 0x10,
- LO_AUTH = 0x20,
- LO_TAG = 0x40,
- LO_HOSTNAME = 0x80,
- LO_HOSTNAMES = 0x100,
- LO_MASKSOURCE = 0x200,
- LO_NODSN = 0x400,
+ LO_FAMILY = 0x000001,
+ LO_PORT = 0x000002,
+ LO_SSL = 0x000004,
+ LO_FILTER = 0x000008,
+ LO_PKI = 0x000010,
+ LO_AUTH = 0x000020,
+ LO_TAG = 0x000040,
+ LO_HOSTNAME = 0x000080,
+ LO_HOSTNAMES = 0x000100,
+ LO_MASKSOURCE = 0x000200,
+ LO_NODSN = 0x000400,
LO_CA = 0x010000
};