From fc99f54070e04c043c14f2244f85833ecf6b00c4 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Fri, 21 Jan 2022 15:31:44 +0100 Subject: - fixed bug with broadcast test. - added configurable port for router in netjail_start.sh. - added key for configuring broadcast in topo.sh. - port for communicators can variable. - added variable additional_connects in GNUNET_TESTING_NetjailTopology. - additional connects can be configured in topology file. - added distance vector test with circle topology. - Reassambly for fragmentation is now stored at VirtualLink, not at Neighbour. - DV forwarding distingush between control flow and payload. - handling fragment box switch to be based on VirtualLink. - reliability box will not be handled like a fragment. - propagating next retransmission attempt variable of fragment to the root message. - check for fragmentation when adding reliability box. - several smaller bug fixes. --- src/transport/transport_api_cmd_start_peer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transport/transport_api_cmd_start_peer.c') diff --git a/src/transport/transport_api_cmd_start_peer.c b/src/transport/transport_api_cmd_start_peer.c index be2ea25b4..e305e24e1 100644 --- a/src/transport/transport_api_cmd_start_peer.c +++ b/src/transport/transport_api_cmd_start_peer.c @@ -124,7 +124,7 @@ notify_connect (void *cls, struct GNUNET_HashCode hc; struct GNUNET_CRYPTO_EddsaPublicKey public_key = peer->public_key; - void *ret = NULL; + void *ret = sps->handlers; LOG (GNUNET_ERROR_TYPE_DEBUG, "This Peer %s \n", @@ -150,7 +150,6 @@ notify_connect (void *cls, sps->notify_connect (sps->ac.is, peer); - // TODO what does the handler function need? return ret; } @@ -418,6 +417,7 @@ start_peer_traits (void *cls, GNUNET_TRANSPORT_make_trait_hello ((const void *) hello), GNUNET_TRANSPORT_make_trait_hello_size ((const void *) hello_size), GNUNET_TRANSPORT_make_trait_state ((const void *) sps), + GNUNET_TRANSPORT_make_trait_broadcast ((const void *) &sps->broadcast), GNUNET_TESTING_trait_end () }; -- cgit v1.2.3