summaryrefslogtreecommitdiff
path: root/common/smtppass.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2010-11-13 16:44:18 +0000
committerStef Walter <stef@thewalter.net>2011-01-23 15:47:45 -0600
commitee9d43a08eab4c21c038b502215429143b12b13f (patch)
tree2ded42c9b4d209be925049ba1bfcccf0f736b049 /common/smtppass.c
parent002738e77ae6149c43a3d55b9364d365e1483578 (diff)
Add client IP address to log line.
Diffstat (limited to 'common/smtppass.c')
-rw-r--r--common/smtppass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index aff8811..73600fd 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -723,6 +723,7 @@ static void cleanup_context(spctx_t* ctx)
}
ctx->logline[0] = 0;
+ sp_add_log(ctx, "client=", ctx->client.peername);
}