dovecot-2.1: lib-storage: Added local/remote port to struct mail...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Nov 16 20:24:15 EET 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/bca3950cad53
changeset: 13714:bca3950cad53
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 16024d03f66e -r bca3950cad53 src/lib-storage/mail-storage-service.c
--- a/src/lib-storage/mail-storage-service.c Wed Nov 16 20:00:37 2011 +0200
+++ b/src/lib-storage/mail-storage-service.c Wed Nov 16 20:23:50 2011 +0200
@@ -285,6 +285,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 16024d03f66e -r bca3950cad53 src/lib-storage/mail-storage-service.h
--- a/src/lib-storage/mail-storage-service.h Wed Nov 16 20:00:37 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