aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dht/test_dht_2dtorus.conf6
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c8
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]
5DEFAULTSERVICES = core dht 5DEFAULTSERVICES = core dht
6
6[dhtcache] 7[dhtcache]
7QUOTA = 1 MB 8QUOTA = 1 MB
8DATABASE = heap 9DATABASE = heap
@@ -11,7 +12,7 @@ DATABASE = heap
11AUTOSTART = NO 12AUTOSTART = NO
12 13
13[nat] 14[nat]
14DISABLEV6 = YES 15DISABLEV6 = YES
15RETURN_LOCAL_ADDRESSES = YES 16RETURN_LOCAL_ADDRESSES = YES
16ENABLE_UPNP = NO 17ENABLE_UPNP = NO
17BEHIND_NAT = NO 18BEHIND_NAT = NO
@@ -23,9 +24,6 @@ EXTERNAL_ADDRESS = 127.0.0.1
23WAN_QUOTA_IN = 1 GB 24WAN_QUOTA_IN = 1 GB
24WAN_QUOTA_OUT = 1 GB 25WAN_QUOTA_OUT = 1 GB
25 26
26[testing]
27WEAKRANDOM = YES
28
29[testbed] 27[testbed]
30OVERLAY_TOPOLOGY = 2D_TORUS 28OVERLAY_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 */
969static void 969static void
970send_with_session (struct NeighbourMapEntry *n, 970send_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 */
1003static void 1003static 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