diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 5afea593f..d93c4423c 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1430,6 +1430,8 @@ notify_session_monitor (struct Plugin *plugin, | |||
1430 | * Our external IP address/port mapping has changed. | 1430 | * Our external IP address/port mapping has changed. |
1431 | * | 1431 | * |
1432 | * @param cls closure, the `struct Plugin` | 1432 | * @param cls closure, the `struct Plugin` |
1433 | * @param app_ctx[in,out] location where the app can store stuff | ||
1434 | * on add and retrieve it on remove | ||
1433 | * @param add_remove #GNUNET_YES to mean the new public IP address, #GNUNET_NO to mean | 1435 | * @param add_remove #GNUNET_YES to mean the new public IP address, #GNUNET_NO to mean |
1434 | * the previous (now invalid) one | 1436 | * the previous (now invalid) one |
1435 | * @param ac address class the address belongs to | 1437 | * @param ac address class the address belongs to |
@@ -1438,6 +1440,7 @@ notify_session_monitor (struct Plugin *plugin, | |||
1438 | */ | 1440 | */ |
1439 | static void | 1441 | static void |
1440 | tcp_nat_port_map_callback (void *cls, | 1442 | tcp_nat_port_map_callback (void *cls, |
1443 | void **app_ctx, | ||
1441 | int add_remove, | 1444 | int add_remove, |
1442 | enum GNUNET_NAT_AddressClass ac, | 1445 | enum GNUNET_NAT_AddressClass ac, |
1443 | const struct sockaddr *addr, | 1446 | const struct sockaddr *addr, |
@@ -1450,6 +1453,7 @@ tcp_nat_port_map_callback (void *cls, | |||
1450 | void *arg; | 1453 | void *arg; |
1451 | size_t args; | 1454 | size_t args; |
1452 | 1455 | ||
1456 | (void) app_ctx; | ||
1453 | LOG (GNUNET_ERROR_TYPE_INFO, | 1457 | LOG (GNUNET_ERROR_TYPE_INFO, |
1454 | "NAT notification to %s address `%s'\n", | 1458 | "NAT notification to %s address `%s'\n", |
1455 | (GNUNET_YES == add_remove) ? "add" : "remove", | 1459 | (GNUNET_YES == add_remove) ? "add" : "remove", |