diff options
-rw-r--r-- | src/dht/test_dht_2dtorus.conf | 6 | ||||
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/src/dht/test_dht_2dtorus.conf b/src/dht/test_dht_2dtorus.conf index aaa46319c..9b725b09e 100644 --- a/src/dht/test_dht_2dtorus.conf +++ b/src/dht/test_dht_2dtorus.conf | |||
@@ -3,6 +3,7 @@ GNUNET_TEST_HOME = /tmp/test_dht_2dtorus/ | |||
3 | 3 | ||
4 | [arm] | 4 | [arm] |
5 | DEFAULTSERVICES = core dht | 5 | DEFAULTSERVICES = core dht |
6 | |||
6 | [dhtcache] | 7 | [dhtcache] |
7 | QUOTA = 1 MB | 8 | QUOTA = 1 MB |
8 | DATABASE = heap | 9 | DATABASE = heap |
@@ -11,7 +12,7 @@ DATABASE = heap | |||
11 | AUTOSTART = NO | 12 | AUTOSTART = NO |
12 | 13 | ||
13 | [nat] | 14 | [nat] |
14 | DISABLEV6 = YES | 15 | DISABLEV6 = YES |
15 | RETURN_LOCAL_ADDRESSES = YES | 16 | RETURN_LOCAL_ADDRESSES = YES |
16 | ENABLE_UPNP = NO | 17 | ENABLE_UPNP = NO |
17 | BEHIND_NAT = NO | 18 | BEHIND_NAT = NO |
@@ -23,9 +24,6 @@ EXTERNAL_ADDRESS = 127.0.0.1 | |||
23 | WAN_QUOTA_IN = 1 GB | 24 | WAN_QUOTA_IN = 1 GB |
24 | WAN_QUOTA_OUT = 1 GB | 25 | WAN_QUOTA_OUT = 1 GB |
25 | 26 | ||
26 | [testing] | ||
27 | WEAKRANDOM = YES | ||
28 | |||
29 | [testbed] | 27 | [testbed] |
30 | OVERLAY_TOPOLOGY = 2D_TORUS | 28 | OVERLAY_TOPOLOGY = 2D_TORUS |
31 | 29 | ||
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index bef75ca6f..eb3ad1d07 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -960,11 +960,11 @@ free_neighbour (struct NeighbourMapEntry *n, | |||
960 | * | 960 | * |
961 | * @param n entry for the recipient | 961 | * @param n entry for the recipient |
962 | * @param msgbuf buffer to transmit | 962 | * @param msgbuf buffer to transmit |
963 | * @param msgbuf_size number of bytes in buffer | 963 | * @param msgbuf_size number of bytes in @a msgbuf buffer |
964 | * @param priority transmission priority | 964 | * @param priority transmission priority |
965 | * @param timeout transmission timeout | 965 | * @param timeout transmission timeout |
966 | * @param cont continuation to call when finished (can be NULL) | 966 | * @param cont continuation to call when finished (can be NULL) |
967 | * @param cont_cls closure for cont | 967 | * @param cont_cls closure for @a cont |
968 | */ | 968 | */ |
969 | static void | 969 | static void |
970 | send_with_session (struct NeighbourMapEntry *n, | 970 | send_with_session (struct NeighbourMapEntry *n, |
@@ -997,7 +997,7 @@ send_with_session (struct NeighbourMapEntry *n, | |||
997 | * activities (keep alive, send next message, disconnect if idle, finish | 997 | * activities (keep alive, send next message, disconnect if idle, finish |
998 | * clean up after disconnect). | 998 | * clean up after disconnect). |
999 | * | 999 | * |
1000 | * @param cls the 'struct NeighbourMapEntry' for which we are running | 1000 | * @param cls the `struct NeighbourMapEntry` for which we are running |
1001 | * @param tc scheduler context (unused) | 1001 | * @param tc scheduler context (unused) |
1002 | */ | 1002 | */ |
1003 | static void | 1003 | static void |
@@ -1158,7 +1158,7 @@ disconnect_neighbour (struct NeighbourMapEntry *n) | |||
1158 | /** | 1158 | /** |
1159 | * We're done with our transmission attempt, continue processing. | 1159 | * We're done with our transmission attempt, continue processing. |
1160 | * | 1160 | * |
1161 | * @param cls the 'struct MessageQueue' of the message | 1161 | * @param cls the `struct MessageQueue` of the message |
1162 | * @param receiver intended receiver | 1162 | * @param receiver intended receiver |
1163 | * @param success whether it worked or not | 1163 | * @param success whether it worked or not |
1164 | * @param size_payload bytes payload sent | 1164 | * @param size_payload bytes payload sent |