Download | Plain Text | Line Numbers


diff -Naur dovecot-2.2.31.orig/src/auth/auth-request.c dovecot-2.2.31/src/auth/auth-request.c
--- dovecot-2.2.31.orig/src/auth/auth-request.c	2017-06-26 13:29:36.000000000 +0200
+++ dovecot-2.2.31/src/auth/auth-request.c	2017-08-02 22:33:17.337691170 +0200
@@ -2515,6 +2526,14 @@
 		str_append_c(str, ',');
 		str_append(str, ip);
 	}
+
+	if (auth_request->service != NULL) {
+		str_append_c(str, ',');
+		str_append(str, auth_request->service);
+	}
+	if (auth_request->secured)
+		str_append(str, ",secured");
+
 	if (auth_request->requested_login_user != NULL)
 		str_append(str, ",master");
 	if (auth_request->session_id != NULL)