aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index c522904d3..495105fe3 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -2535,6 +2535,8 @@ server_remove_address (void *cls,
2535 * Our external IP address/port mapping has changed. 2535 * Our external IP address/port mapping has changed.
2536 * 2536 *
2537 * @param cls closure, the 'struct LocalAddrList' 2537 * @param cls closure, the 'struct LocalAddrList'
2538 * @param app_ctx[in,out] location where the app can store stuff
2539 * on add and retrieve it on remove
2538 * @param add_remove #GNUNET_YES to mean the new public IP address, #GNUNET_NO to mean 2540 * @param add_remove #GNUNET_YES to mean the new public IP address, #GNUNET_NO to mean
2539 * the previous (now invalid) one 2541 * the previous (now invalid) one
2540 * @param ac address class the address belongs to 2542 * @param ac address class the address belongs to
@@ -2543,6 +2545,7 @@ server_remove_address (void *cls,
2543 */ 2545 */
2544static void 2546static void
2545server_nat_port_map_callback (void *cls, 2547server_nat_port_map_callback (void *cls,
2548 void **app_ctx,
2546 int add_remove, 2549 int add_remove,
2547 enum GNUNET_NAT_AddressClass ac, 2550 enum GNUNET_NAT_AddressClass ac,
2548 const struct sockaddr *addr, 2551 const struct sockaddr *addr,
@@ -2550,6 +2553,7 @@ server_nat_port_map_callback (void *cls,
2550{ 2553{
2551 struct HTTP_Server_Plugin *plugin = cls; 2554 struct HTTP_Server_Plugin *plugin = cls;
2552 2555
2556 (void) app_ctx;
2553 LOG (GNUNET_ERROR_TYPE_DEBUG, 2557 LOG (GNUNET_ERROR_TYPE_DEBUG,
2554 "NAT called to %s address `%s'\n", 2558 "NAT called to %s address `%s'\n",
2555 (add_remove == GNUNET_NO) ? "remove" : "add", 2559 (add_remove == GNUNET_NO) ? "remove" : "add",