aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-04-27 07:16:06 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-04-27 07:16:06 +0000
commit11d22d5457921db8c72200020ec3f98a253b8fab (patch)
treefa42aea3e7eaf9895c63931225c3def9727a13b0 /src/integration-tests
parentf9ffcc7b14841e2c02c35942c5a39dcfbacc67ba (diff)
downloadgnunet-11d22d5457921db8c72200020ec3f98a253b8fab.tar.gz
gnunet-11d22d5457921db8c72200020ec3f98a253b8fab.zip
- fix
Diffstat (limited to 'src/integration-tests')
-rw-r--r--src/integration-tests/connection_watchdog.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/integration-tests/connection_watchdog.c b/src/integration-tests/connection_watchdog.c
index 058732c60..cb5ccc236 100644
--- a/src/integration-tests/connection_watchdog.c
+++ b/src/integration-tests/connection_watchdog.c
@@ -230,8 +230,8 @@ check_lowlevel_connections (int port, int protocol)
230 break; 230 break;
231 } 231 }
232 232
233 233 /* Use netstat to get a numeric list of all connections on port 'port' in state 'ESTABLISHED' */
234 GNUNET_asprintf(&cmdline, "netstat -n %s | grep %u", proto, port); 234 GNUNET_asprintf(&cmdline, "netstat -n %s | grep %u | grep ESTABLISHED", proto, port);
235 235
236 if (system ("netstat -n > /dev/null 2> /dev/null")) 236 if (system ("netstat -n > /dev/null 2> /dev/null"))
237 if (system ("netstat -n > /dev/null 2> /dev/null") == 0) 237 if (system ("netstat -n > /dev/null 2> /dev/null") == 0)
@@ -871,7 +871,11 @@ core_notify_receive_cb (void *cls,
871 871
872 if (NULL == pc) 872 if (NULL == pc)
873 { 873 {
874 GNUNET_break (0); 874 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Received unexpected message type %u from unknown peer `%s'\n",
875 ntohs (message->type),
876 GNUNET_i2s (peer));
877
878
875 return GNUNET_OK; 879 return GNUNET_OK;
876 } 880 }
877 881