diff options
Diffstat (limited to 'src/nat/gnunet-service-nat.c')
-rw-r--r-- | src/nat/gnunet-service-nat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nat/gnunet-service-nat.c b/src/nat/gnunet-service-nat.c index 8d771f474..2498a990a 100644 --- a/src/nat/gnunet-service-nat.c +++ b/src/nat/gnunet-service-nat.c | |||
@@ -1063,7 +1063,8 @@ run_scan (void *cls) | |||
1063 | sizeof (*s4))); | 1063 | sizeof (*s4))); |
1064 | pos->hc = GN_start_gnunet_nat_server_ (&s4->sin_addr, | 1064 | pos->hc = GN_start_gnunet_nat_server_ (&s4->sin_addr, |
1065 | &reversal_callback, | 1065 | &reversal_callback, |
1066 | pos); | 1066 | pos, |
1067 | cfg); | ||
1067 | } | 1068 | } |
1068 | } | 1069 | } |
1069 | } | 1070 | } |
@@ -1826,7 +1827,8 @@ handle_request_connection_reversal (void *cls, | |||
1826 | GNUNET_break_op (AF_INET == r4.sin_family); | 1827 | GNUNET_break_op (AF_INET == r4.sin_family); |
1827 | ret = GN_request_connection_reversal (&l4.sin_addr, | 1828 | ret = GN_request_connection_reversal (&l4.sin_addr, |
1828 | ntohs (l4.sin_port), | 1829 | ntohs (l4.sin_port), |
1829 | &r4.sin_addr); | 1830 | &r4.sin_addr, |
1831 | cfg); | ||
1830 | if (GNUNET_OK != ret) | 1832 | if (GNUNET_OK != ret) |
1831 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1833 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1832 | _("Connection reversal request failed\n")); | 1834 | _("Connection reversal request failed\n")); |