aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh_channel.c')
-rw-r--r--src/mesh/gnunet-service-mesh_channel.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c
index d3b66c501..b142ea054 100644
--- a/src/mesh/gnunet-service-mesh_channel.c
+++ b/src/mesh/gnunet-service-mesh_channel.c
@@ -652,7 +652,7 @@ channel_confirm (struct MeshChannel *ch, int fwd)
652 /* TODO return? */ 652 /* TODO return? */
653 } 653 }
654 } 654 }
655 GMCH_send_data_ack (ch, fwd); 655 GML_send_ack (fwd ? ch->root : ch->dest, fwd ? ch->lid_root : ch->lid_dest);
656 656
657 /* In case of a FWD ACk (SYNACK) send a BCK ACK (ACK). */ 657 /* In case of a FWD ACk (SYNACK) send a BCK ACK (ACK). */
658 if (fwd) 658 if (fwd)
@@ -1626,10 +1626,9 @@ void
1626GMCH_send_prebuilt_message (const struct GNUNET_MessageHeader *message, 1626GMCH_send_prebuilt_message (const struct GNUNET_MessageHeader *message,
1627 struct MeshChannel *ch, int fwd) 1627 struct MeshChannel *ch, int fwd)
1628{ 1628{
1629 LOG (GNUNET_ERROR_TYPE_DEBUG, "Send %s on channel %s\n", 1629 LOG (GNUNET_ERROR_TYPE_DEBUG, "GMCH Send %s %s on channel %s\n",
1630 fwd ? "FWD" : "BCK", GMCH_2s (ch)); 1630 fwd ? "FWD" : "BCK", GNUNET_MESH_DEBUG_M2S (ntohs (message->type)),
1631 LOG (GNUNET_ERROR_TYPE_DEBUG, " %s\n", 1631 GMCH_2s (ch));
1632 GNUNET_MESH_DEBUG_M2S (ntohs (message->type)));
1633 1632
1634 if (GMT_is_loopback (ch->t)) 1633 if (GMT_is_loopback (ch->t))
1635 { 1634 {