X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.c;h=f136a58e4fe82ca073a8d74802feb60f5c5cd9a8;hb=8ec648abf438bb5fcfe84e3a1c6a31192dc32b2e;hp=c7e8b8573cab6dcbb9eef3d03e79bfe92cc80f84;hpb=c5737583c8a5d099a71174e1eb997e0972ae03e9;p=tinc diff --git a/src/net.c b/src/net.c index c7e8b857..f136a58e 100644 --- a/src/net.c +++ b/src/net.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c,v 1.35.4.17 2000/06/30 12:41:05 guus Exp $ + $Id: net.c,v 1.35.4.18 2000/06/30 21:03:51 guus Exp $ */ #include "config.h" @@ -531,7 +531,8 @@ cp return -1; } - syslog(LOG_INFO, _("Connected to %s port %hd"), + if(debug_lvl > 0) + syslog(LOG_INFO, _("Connected to %s port %hd"), cl->real_hostname, cl->port); cp return 0;