summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 14:33:36 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 14:33:36 +0000
commit0541982d428c33f071e1571a1bbedeaa1509275c (patch)
treefedda2021e4e1d25c094992d1aadb036e80351f5 /usr.sbin/smtpd/smtp_session.c
parent7693ba0afd5683b179d110b2372705e689439407 (diff)
rename enum value
Diffstat (limited to 'usr.sbin/smtpd/smtp_session.c')
-rw-r--r--usr.sbin/smtpd/smtp_session.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 874749a0cea..4f4ab8039d2 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.255 2015/12/12 14:27:03 gilles Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.256 2015/12/12 14:33:35 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -74,7 +74,6 @@ enum session_flags {
SF_AUTHENTICATED = 0x0008,
SF_BOUNCE = 0x0010,
SF_VERIFIED = 0x0020,
- SF_MFACONNSENT = 0x0040,
SF_BADINPUT = 0x0080,
SF_FILTERCONN = 0x0100,
SF_FILTERDATA = 0x0200,
@@ -1804,7 +1803,7 @@ smtp_connected(struct smtp_session *s)
return;
}
- s->flags |= SF_MFACONNSENT;
+ s->flags |= SF_FILTERCONN;
smtp_filter_connect(s, (struct sockaddr *)&ss);
}
@@ -2034,7 +2033,7 @@ smtp_free(struct smtp_session *s, const char * reason)
m_close(p_queue);
}
- if (s->flags & SF_MFACONNSENT)
+ if (s->flags & SF_FILTERCONN)
smtp_filter_disconnect(s);
if (s->flags & SF_SECURE && s->listener->flags & F_SMTPS)