summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2018-10-31 15:14:22 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2018-10-31 15:14:22 +0000
commitf10a43907cfeb0c66a5e76cddc1764869d79a748 (patch)
tree07f9cf2ff0e840a237bd9dda71e3b4c5b937d63d /usr.sbin/smtpd
parent0f55a7a9be8b726b3fcb755f443b5bd0f82e4067 (diff)
in rule_to_text(), use "tls" not "starttls"
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/to.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/to.c b/usr.sbin/smtpd/to.c
index 6dff6f88494..f4e1149a558 100644
--- a/usr.sbin/smtpd/to.c
+++ b/usr.sbin/smtpd/to.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: to.c,v 1.33 2018/09/08 10:05:07 eric Exp $ */
+/* $OpenBSD: to.c,v 1.34 2018/10/31 15:14:21 gilles Exp $ */
/*
* Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
@@ -506,7 +506,7 @@ rule_to_text(struct rule *r)
if (r->flag_smtp_starttls) {
if (r->flag_smtp_starttls < 0)
(void)strlcat(buf, "!", sizeof buf);
- (void)strlcat(buf, "starttls ", sizeof buf);
+ (void)strlcat(buf, "tls ", sizeof buf);
(void)strlcat(buf, " ", sizeof buf);
}