diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
commit | aa78134a557079ce570345e751e4c36c4b2ba79a (patch) | |
tree | f7bf25950513285184e2426109235337d0aef8be /src/nat | |
parent | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff) | |
download | gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip |
-fix many more typos
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/nat_api.c | 2 | ||||
-rw-r--r-- | src/nat/nat_api_stun.c | 2 | ||||
-rw-r--r-- | src/nat/test_nat_mini.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/nat/nat_api.c b/src/nat/nat_api.c index c1125dc75..4622b1428 100644 --- a/src/nat/nat_api.c +++ b/src/nat/nat_api.c | |||
@@ -368,7 +368,7 @@ do_connect (void *cls) | |||
368 | * @param num_addrs number of addresses in @a addrs | 368 | * @param num_addrs number of addresses in @a addrs |
369 | * @param addrs list of local addresses packets should be redirected to | 369 | * @param addrs list of local addresses packets should be redirected to |
370 | * @param addrlens actual lengths of the addresses in @a addrs | 370 | * @param addrlens actual lengths of the addresses in @a addrs |
371 | * @param address_callback function to call everytime the public IP address changes | 371 | * @param address_callback function to call every time the public IP address changes |
372 | * @param reversal_callback function to call if someone wants connection reversal from us, | 372 | * @param reversal_callback function to call if someone wants connection reversal from us, |
373 | * NULL if connection reversal is not supported | 373 | * NULL if connection reversal is not supported |
374 | * @param callback_cls closure for callbacks | 374 | * @param callback_cls closure for callbacks |
diff --git a/src/nat/nat_api_stun.c b/src/nat/nat_api_stun.c index 461dae1f5..0bc2c5fbd 100644 --- a/src/nat/nat_api_stun.c +++ b/src/nat/nat_api_stun.c | |||
@@ -71,7 +71,7 @@ struct GNUNET_NAT_STUN_Handle | |||
71 | char *stun_server; | 71 | char *stun_server; |
72 | 72 | ||
73 | /** | 73 | /** |
74 | * Function to call when a error occours | 74 | * Function to call when a error occurs |
75 | */ | 75 | */ |
76 | GNUNET_NAT_TestCallback cb; | 76 | GNUNET_NAT_TestCallback cb; |
77 | 77 | ||
diff --git a/src/nat/test_nat_mini.c b/src/nat/test_nat_mini.c index 8cbd4131d..528815e1a 100644 --- a/src/nat/test_nat_mini.c +++ b/src/nat/test_nat_mini.c | |||
@@ -17,14 +17,14 @@ | |||
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | |||
21 | /** | 20 | /** |
22 | * Testcase for port redirection and public IP address retrieval. | ||
23 | * This test never fails, because there need to be a NAT box set up for tha * | ||
24 | * @file nat/test_nat_mini.c | 21 | * @file nat/test_nat_mini.c |
25 | * @brief Testcase for NAT library - mini | 22 | * @brief Testcase for NAT library - mini |
26 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
27 | * | 24 | * |
25 | * Testcase for port redirection and public IP address retrieval. | ||
26 | * This test never fails, because there need to be a NAT box set up for that | ||
27 | * | ||
28 | * TODO: actually use ARM to start resolver service to make DNS work! | 28 | * TODO: actually use ARM to start resolver service to make DNS work! |
29 | */ | 29 | */ |
30 | 30 | ||