aboutsummaryrefslogtreecommitdiff
path: root/src/nat
diff options
context:
space:
mode:
authornevans <nevans@140774ce-b5e7-0310-ab8b-a85725594a96>2011-01-12 16:41:54 +0000
committernevans <nevans@140774ce-b5e7-0310-ab8b-a85725594a96>2011-01-12 16:41:54 +0000
commiteec5fce1425759143ebd4a98b65fd2090cf19a96 (patch)
treec2eed7346292b83f6561273c9b9862d3d278f5e2 /src/nat
parenta8bb5b1ad0796a91413a25832c19e64a7c6a851d (diff)
make really loud unable to communicate with peerinfo messages go away
git-svn-id: https://gnunet.org/svn/gnunet@14158 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/nat')
-rw-r--r--src/nat/upnp-discover.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nat/upnp-discover.c b/src/nat/upnp-discover.c
index 654be490e6..2e609d7903 100644
--- a/src/nat/upnp-discover.c
+++ b/src/nat/upnp-discover.c
@@ -22,7 +22,7 @@
* Code in this file is originally based on the miniupnp library.
* Copyright (c) 2005-2009, Thomas BERNARD. All rights reserved.
*
- * Original licence:
+ * Original license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -70,7 +70,7 @@
#define DESCRIPTION_BUFSIZE 2048
#define CURL_EASY_SETOPT(c, a, b) do { ret = curl_easy_setopt(c, a, b); if (ret != CURLE_OK) GNUNET_log(GNUNET_ERROR_TYPE_WARNING, _("%s failed at %s:%d: `%s'\n"), "curl_easy_setopt", __FILE__, __LINE__, curl_easy_strerror(ret)); } while (0)
#define PRINT_SOCKET_ERROR(a) GNUNET_log_from(GNUNET_ERROR_TYPE_WARNING, "UPnP", _("%s failed at %s:%d: '%s'\n"), a, __FILE__, __LINE__, strerror (errno));
-
+#define PRINT_SOCKET_ERROR_STR(a, b) GNUNET_log_from(GNUNET_ERROR_TYPE_WARNING, "UPnP", _("%s failed at %s:%d: '%s' on `%s'\n"), a, __FILE__, __LINE__, strerror (errno), b);
/**
* Callback function called when download is finished.
@@ -1204,7 +1204,7 @@ UPNP_discover_ (const char *multicastif,
if_index = 0;
#endif
if (!if_index)
- PRINT_SOCKET_ERROR ("if_nametoindex");
+ PRINT_SOCKET_ERROR_STR ("if_nametoindex", multicastif);
if (GNUNET_NETWORK_socket_setsockopt
(sudp, IPPROTO_IPV6, IPV6_MULTICAST_IF, &if_index,