[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13885 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13885 - gnunet/src/transport |
Date: |
Tue, 7 Dec 2010 13:47:35 +0100 |
Author: nevans
Date: 2010-12-07 13:47:35 +0100 (Tue, 07 Dec 2010)
New Revision: 13885
Modified:
gnunet/src/transport/plugin_transport_tcp.c
Log:
missing nat server check before trying to kill process
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2010-12-07 10:36:24 UTC (rev
13884)
+++ gnunet/src/transport/plugin_transport_tcp.c 2010-12-07 12:47:35 UTC (rev
13885)
@@ -3018,7 +3018,8 @@
GNUNET_free (tcp_probe);
}
- if (plugin->behind_nat == GNUNET_YES)
+ if ((plugin->behind_nat == GNUNET_YES) &&
+ (plugin->enable_nat_server == GNUNET_YES))
{
if (0 != GNUNET_OS_process_kill (plugin->server_proc, SIGTERM))
GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13885 - gnunet/src/transport,
gnunet <=