diff options
author | 2018-12-09 21:43:46 +0000 | |
---|---|---|
committer | 2018-12-09 21:43:46 +0000 | |
commit | 8998cca41643b8958d7b86b72cfc3924a25f91f5 (patch) | |
tree | 3c3e15c3c2d7a4b0b6745e78ef4a7a60cc372531 | |
parent | Zap duplicate signatures (diff) | |
download | wireguard-openbsd-8998cca41643b8958d7b86b72cfc3924a25f91f5.tar.xz wireguard-openbsd-8998cca41643b8958d7b86b72cfc3924a25f91f5.zip |
no need to pass rdns and fcrdns info to helo/ehlo proc filter lines
-rw-r--r-- | usr.sbin/smtpd/lka_filter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/lka_filter.c b/usr.sbin/smtpd/lka_filter.c index a93c43cc9e2..18116b928f8 100644 --- a/usr.sbin/smtpd/lka_filter.c +++ b/usr.sbin/smtpd/lka_filter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka_filter.c,v 1.12 2018/12/09 18:24:15 gilles Exp $ */ +/* $OpenBSD: lka_filter.c,v 1.13 2018/12/09 21:43:46 gilles Exp $ */ /* * Copyright (c) 2018 Gilles Chehade <gilles@poolp.org> @@ -331,9 +331,7 @@ filter_write(const char *name, uint64_t reqid, const char *phase, const char *pa fs = tree_xget(&sessions, reqid); time(&tm); - if (strcmp(phase, "connected") == 0 || - strcmp(phase, "helo") == 0 || - strcmp(phase, "ehlo") == 0) + if (strcmp(phase, "connected") == 0) n = io_printf(lka_proc_get_io(name), "filter|%d|%zd|smtp-in|%s|%016"PRIx64"|%s|%s\n", PROTOCOL_VERSION, |