dovecot-2.0: lib-storage: Added local/remote port to struct mail...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Nov 16 20:24:50 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/e5ca61d1fd40
changeset: 12971:e5ca61d1fd40
user: Timo Sirainen <tss at iki.fi>
date: Wed Nov 16 20:23:50 2011 +0200
description:
lib-storage: Added local/remote port to struct mail_storage_service_input for userdb lookups.
diffstat:
src/lib-storage/mail-storage-service.c | 2 ++
src/lib-storage/mail-storage-service.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r 18078d6cce84 -r e5ca61d1fd40 src/lib-storage/mail-storage-service.c
--- a/src/lib-storage/mail-storage-service.c Wed Nov 16 19:39:33 2011 +0200
+++ b/src/lib-storage/mail-storage-service.c Wed Nov 16 20:23:50 2011 +0200
@@ -274,6 +274,8 @@
info.service = ctx->service->name;
info.local_ip = input->local_ip;
info.remote_ip = input->remote_ip;
+ info.local_port = input->local_port;
+ info.remote_port = input->remote_port;
ret = auth_master_user_lookup(ctx->conn, *user, &info, pool,
&new_username, fields_r);
diff -r 18078d6cce84 -r e5ca61d1fd40 src/lib-storage/mail-storage-service.h
--- a/src/lib-storage/mail-storage-service.h Wed Nov 16 19:39:33 2011 +0200
+++ b/src/lib-storage/mail-storage-service.h Wed Nov 16 20:23:50 2011 +0200
@@ -41,6 +41,7 @@
const char *service;
const char *username;
struct ip_addr local_ip, remote_ip;
+ unsigned int local_port, remote_port;
const char *const *userdb_fields;
More information about the dovecot-cvs
mailing list