From: Bart Polot Date: Fri, 12 Jul 2013 13:53:08 +0000 (+0000) Subject: - use correct ACK for nonreliable tunnels X-Git-Tag: initial-import-from-subversion-38251~8345 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76949343adce28480826648d05af7fd7d165eedb;p=oweals%2Fgnunet.git - use correct ACK for nonreliable tunnels --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 765ed1faa..975b7b295 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -3752,7 +3752,7 @@ handle_mesh_unicast (void *cls, const struct GNUNET_PeerIdentity *peer, " Pid %u not expected (%u), sending FWD ACK!\n", pid, t->prev_fc.last_pid_recv + 1); } - tunnel_send_fwd_ack (t, GNUNET_MESSAGE_TYPE_MESH_UNICAST_ACK); + tunnel_send_fwd_ack (t, GNUNET_MESSAGE_TYPE_MESH_UNICAST); return GNUNET_OK; } if (GMC_is_pid_bigger(pid, t->prev_fc.last_pid_recv)) @@ -3856,7 +3856,7 @@ handle_mesh_to_orig (void *cls, const struct GNUNET_PeerIdentity *peer, GNUNET_log (GNUNET_ERROR_TYPE_WARNING, " Pid %u not expected, sending FWD ACK!\n", pid); } - tunnel_send_bck_ack (t, GNUNET_MESSAGE_TYPE_MESH_TO_ORIG_ACK); + tunnel_send_bck_ack (t, GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN); return GNUNET_OK; } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,