summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka_session.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-08-27 22:32:43 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-08-27 22:32:43 +0000
commite5d3ea52670446cab24de04bb472a473cf0de2a4 (patch)
tree9c0b8035e5bd6edf55a7449e16e4bafe381f9148 /usr.sbin/smtpd/lka_session.c
parent1d2663c2aae172f35137c1fc6ca4f60fe6905c2e (diff)
initial support for a session-time filtering API
currently only HELO/EHLO, MAIL, RCPT are supported, however ... I have voluntarily disabled filters at smtpd.conf level so people don't play with it until the API has stabilized a bit discussed with several people in private, no one opposed the feature
Diffstat (limited to 'usr.sbin/smtpd/lka_session.c')
-rw-r--r--usr.sbin/smtpd/lka_session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c
index 1f7c202040f..a3cd1a0ccd2 100644
--- a/usr.sbin/smtpd/lka_session.c
+++ b/usr.sbin/smtpd/lka_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_session.c,v 1.8 2011/07/04 19:44:31 gilles Exp $ */
+/* $OpenBSD: lka_session.c,v 1.9 2011/08/27 22:32:41 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -651,5 +651,4 @@ lka_session_cmp(struct lka_session *s1, struct lka_session *s2)
return 0;
}
-
SPLAY_GENERATE(lkatree, lka_session, nodes, lka_session_cmp);