diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-06-26 23:00:40 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-06-26 23:00:40 +0000 |
commit | 48e50f64d8c05b2a6dab327156ea86fc92f171cf (patch) | |
tree | b94ad4df049d714ae574ed9580d6e311478ec843 /src | |
parent | cfb178f3223d7692dbfb77c9db911d47e546976a (diff) |
- when creating a tunnel, pre-accept first incoming packet
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/mesh2_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/mesh2_api.c b/src/mesh/mesh2_api.c index aca5108fad..ef940f7e4d 100644 --- a/src/mesh/mesh2_api.c +++ b/src/mesh/mesh2_api.c @@ -1460,6 +1460,7 @@ GNUNET_MESH_tunnel_create (struct GNUNET_MESH_Handle *h, msg.tunnel_id = htonl (t->tid); msg.port = htonl (port); msg.peer = *peer; + t->last_ack_sent = 0; send_packet (h, &msg.header, t); return t; } |