gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: gnunet-helper-nat-server.c:


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: gnunet-helper-nat-server.c: fix 100% cpu load
Date: Tue, 26 Jun 2018 23:29:25 +0200

This is an automated email from the git hooks/post-receive script.

xrs pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 3c6761585 gnunet-helper-nat-server.c: fix 100% cpu load
3c6761585 is described below

commit 3c67615857af959b95ab7c133d07a06bb9cebdeb
Author: xrs <address@hidden>
AuthorDate: Tue Jun 26 23:29:17 2018 +0200

    gnunet-helper-nat-server.c: fix 100% cpu load
---
 src/nat/gnunet-helper-nat-server.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/nat/gnunet-helper-nat-server.c 
b/src/nat/gnunet-helper-nat-server.c
index 44817ede7..c5c6b563e 100644
--- a/src/nat/gnunet-helper-nat-server.c
+++ b/src/nat/gnunet-helper-nat-server.c
@@ -683,7 +683,10 @@ main (int argc,
     if (1 == getppid ())        /* Check the parent process id, if 1 the 
parent has died, so we should die too */
       break;
     if (FD_ISSET (icmpsock, &rs))
+    {
       process_icmp_response ();
+      continue;
+    }
     if (0 == (++alt % 2))
       send_icmp_echo (&external);
     else

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]