]> git.pld-linux.org Git - packages/stunnel.git/blobdiff - stunnel-libwrap_srv_name_log.patch
- 4.21
[packages/stunnel.git] / stunnel-libwrap_srv_name_log.patch
index 1d5228858a6ed3dcd1e853713c00a0bdbdfef22f..785d3dc4bef0ccdf4052db9483a700a5bb33946d 100644 (file)
@@ -1,13 +1,13 @@
---- stunnel-4.14/src/client.c.orig     2005-10-24 20:00:56.000000000 +0200
-+++ stunnel-4.14/src/client.c  2006-01-24 13:31:39.000000000 +0100
-@@ -735,8 +735,8 @@
-     }
-     if(!result) {
--        s_log(LOG_WARNING, "Connection from %s REFUSED by libwrap",
--            c->accepted_address);
-+        s_log(LOG_WARNING, "Connection to service %s from %s REFUSED by libwrap",
-+            c->opt->servname, c->accepted_address);
-         s_log(LOG_DEBUG, "See hosts_access(5) manual for details");
-         return -1; /* FAILED */
+--- stunnel-4.21/src/client.c.orig       2007-10-05 20:30:00.000000000 +0000
++++ stunnel-4.21/src/client.c    2007-10-28 11:48:46.794934653 +0000
+@@ -776,8 +776,8 @@
+     c->fd=-1; /* avoid double close on cleanup */
+     if(strcmp(name, c->opt->username)) {
+         safestring(name);
+-        s_log(LOG_WARNING, "Connection from %s REFUSED by IDENT (user %s)",
+-            c->accepted_address, name);
++        s_log(LOG_WARNING, "Connection to service %s from %s REFUSED by IDENT (user %s)",
++            c->opt->servname, c->accepted_address, name);
+         longjmp(c->err, 1);
      }
+     s_log(LOG_INFO, "IDENT authentication passed");
This page took 0.060839 seconds and 4 git commands to generate.