summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2015-12-01 15:43:01 +0000
committergilles <gilles@openbsd.org>2015-12-01 15:43:01 +0000
commit9b66790bf5332b6c6867ad9e36e4e0864bd0157e (patch)
tree5d1fda360c4c49be728d826044211aff47cd9910
parentaviion went away (diff)
downloadwireguard-openbsd-9b66790bf5332b6c6867ad9e36e4e0864bd0157e.tar.xz
wireguard-openbsd-9b66790bf5332b6c6867ad9e36e4e0864bd0157e.zip
update enum values in listen options
-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
};