diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-07-12 13:53:08 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-07-12 13:53:08 +0000 |
commit | 76949343adce28480826648d05af7fd7d165eedb (patch) | |
tree | 6db8a4d48b34a328892dafb4ab95970b74ef5271 /src/mesh/gnunet-service-mesh.c | |
parent | 33db2e5013f84ff3348acce4bcbc6ff09ba47725 (diff) | |
download | gnunet-76949343adce28480826648d05af7fd7d165eedb.tar.gz gnunet-76949343adce28480826648d05af7fd7d165eedb.zip |
- use correct ACK for nonreliable tunnels
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
3752 | " Pid %u not expected (%u), sending FWD ACK!\n", | 3752 | " Pid %u not expected (%u), sending FWD ACK!\n", |
3753 | pid, t->prev_fc.last_pid_recv + 1); | 3753 | pid, t->prev_fc.last_pid_recv + 1); |
3754 | } | 3754 | } |
3755 | tunnel_send_fwd_ack (t, GNUNET_MESSAGE_TYPE_MESH_UNICAST_ACK); | 3755 | tunnel_send_fwd_ack (t, GNUNET_MESSAGE_TYPE_MESH_UNICAST); |
3756 | return GNUNET_OK; | 3756 | return GNUNET_OK; |
3757 | } | 3757 | } |
3758 | if (GMC_is_pid_bigger(pid, t->prev_fc.last_pid_recv)) | 3758 | 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, | |||
3856 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 3856 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
3857 | " Pid %u not expected, sending FWD ACK!\n", pid); | 3857 | " Pid %u not expected, sending FWD ACK!\n", pid); |
3858 | } | 3858 | } |
3859 | tunnel_send_bck_ack (t, GNUNET_MESSAGE_TYPE_MESH_TO_ORIG_ACK); | 3859 | tunnel_send_bck_ack (t, GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN); |
3860 | return GNUNET_OK; | 3860 | return GNUNET_OK; |
3861 | } | 3861 | } |
3862 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 3862 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |