summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/lka.c')
-rw-r--r--usr.sbin/smtpd/lka.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c
index b4afcca923a..2d8d29ef204 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.236 2019/07/11 20:58:54 gilles Exp $ */
+/* $OpenBSD: lka.c,v 1.237 2019/07/11 21:04:59 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -83,6 +83,7 @@ lka_imsg(struct mproc *p, struct imsg *imsg)
const char *command, *response;
const char *ciphers;
const char *address;
+ const char *helomethod;
const char *heloname;
const char *filter_name;
struct sockaddr_storage ss_src, ss_dest;
@@ -405,10 +406,11 @@ lka_imsg(struct mproc *p, struct imsg *imsg)
m_get_string(&m, &direction);
m_get_timeval(&m, &tv);
m_get_id(&m, &reqid);
+ m_get_string(&m, &helomethod);
m_get_string(&m, &heloname);
m_end(&m);
- lka_report_smtp_link_identify(direction, &tv, reqid, heloname);
+ lka_report_smtp_link_identify(direction, &tv, reqid, helomethod, heloname);
return;
case IMSG_REPORT_SMTP_LINK_TLS: