diff options
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 30a54cb17..b05192e06 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -1309,6 +1309,8 @@ udp_plugin_check_address (void *cls, | |||
1309 | * Our external IP address/port mapping has changed. | 1309 | * Our external IP address/port mapping has changed. |
1310 | * | 1310 | * |
1311 | * @param cls closure, the `struct Plugin` | 1311 | * @param cls closure, the `struct Plugin` |
1312 | * @param app_ctx[in,out] location where the app can store stuff | ||
1313 | * on add and retrieve it on remove | ||
1312 | * @param add_remove #GNUNET_YES to mean the new public IP address, | 1314 | * @param add_remove #GNUNET_YES to mean the new public IP address, |
1313 | * #GNUNET_NO to mean the previous (now invalid) one | 1315 | * #GNUNET_NO to mean the previous (now invalid) one |
1314 | * @param ac address class the address belongs to | 1316 | * @param ac address class the address belongs to |
@@ -1317,6 +1319,7 @@ udp_plugin_check_address (void *cls, | |||
1317 | */ | 1319 | */ |
1318 | static void | 1320 | static void |
1319 | udp_nat_port_map_callback (void *cls, | 1321 | udp_nat_port_map_callback (void *cls, |
1322 | void **app_ctx, | ||
1320 | int add_remove, | 1323 | int add_remove, |
1321 | enum GNUNET_NAT_AddressClass ac, | 1324 | enum GNUNET_NAT_AddressClass ac, |
1322 | const struct sockaddr *addr, | 1325 | const struct sockaddr *addr, |
@@ -1329,6 +1332,7 @@ udp_nat_port_map_callback (void *cls, | |||
1329 | void *arg; | 1332 | void *arg; |
1330 | size_t args; | 1333 | size_t args; |
1331 | 1334 | ||
1335 | (void) app_ctx; | ||
1332 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1336 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1333 | (GNUNET_YES == add_remove) | 1337 | (GNUNET_YES == add_remove) |
1334 | ? "NAT notification to add address `%s'\n" | 1338 | ? "NAT notification to add address `%s'\n" |