diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2011-10-09 18:39:55 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2011-10-09 18:39:55 +0000 |
commit | ad03e2c7c7cab0cccdb501682fc29d230896cddc (patch) | |
tree | dceaf0773380012682d8e3af7bad545aea21a10e /usr.sbin/smtpd/lka.c | |
parent | c45e61c7b6744c0dd8c3296ed9a6ef961a772ac6 (diff) |
show messages sent between processes in debug mode
ok gilles@ chl@
Diffstat (limited to 'usr.sbin/smtpd/lka.c')
-rw-r--r-- | usr.sbin/smtpd/lka.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c index 581a72e86d3..3ba0514430f 100644 --- a/usr.sbin/smtpd/lka.c +++ b/usr.sbin/smtpd/lka.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka.c,v 1.127 2011/05/16 21:05:51 gilles Exp $ */ +/* $OpenBSD: lka.c,v 1.128 2011/10/09 18:39:53 eric Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -61,6 +61,8 @@ lka_imsg(struct imsgev *iev, struct imsg *imsg) struct map *map; void *tmp; + log_imsg(PROC_LKA, iev->proc, imsg); + if (imsg->hdr.type == IMSG_DNS_HOST || imsg->hdr.type == IMSG_DNS_MX || imsg->hdr.type == IMSG_DNS_PTR) { dns_async(iev, imsg->hdr.type, imsg->data); |