[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: handle case upnpc not found
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: handle case upnpc not found nicely |
Date: |
Thu, 12 Jan 2017 18:33:05 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 70f09e5d0 handle case upnpc not found nicely
70f09e5d0 is described below
commit 70f09e5d0892371486446878af330721db3845e9
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jan 12 18:33:03 2017 +0100
handle case upnpc not found nicely
---
src/nat/gnunet-service-nat.c | 4 ++++
src/nat/gnunet-service-nat_mini.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/nat/gnunet-service-nat.c b/src/nat/gnunet-service-nat.c
index ccb37d2f9..98d87262e 100644
--- a/src/nat/gnunet-service-nat.c
+++ b/src/nat/gnunet-service-nat.c
@@ -1103,6 +1103,10 @@ upnp_addr_change_cb (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"external-ip binary not found\n");
return;
+ case GNUNET_NAT_ERROR_UPNPC_NOT_FOUND:
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "upnpc binary not found\n");
+ return;
case GNUNET_NAT_ERROR_EXTERNAL_IP_UTILITY_FAILED:
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"external-ip binary could not be run\n");
diff --git a/src/nat/gnunet-service-nat_mini.h
b/src/nat/gnunet-service-nat_mini.h
index 2c0dd3445..8a7af9bf1 100644
--- a/src/nat/gnunet-service-nat_mini.h
+++ b/src/nat/gnunet-service-nat_mini.h
@@ -55,7 +55,7 @@ struct GNUNET_NAT_ExternalHandle;
*/
struct GNUNET_NAT_ExternalHandle *
GNUNET_NAT_mini_get_external_ipv4_ (GNUNET_NAT_IPCallback cb,
- void *cb_cls);
+ void *cb_cls);
/**
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: handle case upnpc not found nicely,
gnunet <=