projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb0e91
)
- don't handshake on loopback tunnels
author
Bart Polot
<bart@net.in.tum.de>
Thu, 7 Nov 2013 02:06:36 +0000
(
02:06
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 7 Nov 2013 02:06:36 +0000
(
02:06
+0000)
src/mesh/gnunet-service-mesh_tunnel.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_tunnel.c
b/src/mesh/gnunet-service-mesh_tunnel.c
index 4c1eba895705bf632ce651482d340bf315e15c8c..d266a93fb14f3c5498f239c751fe7625bc245022 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_tunnel.c
+++ b/
src/mesh/gnunet-service-mesh_tunnel.c
@@
-1172,7
+1172,8
@@
GMT_change_state (struct MeshTunnel3* t, enum MeshTunnel3State state)
"Tunnel %s state is now %s\n",
GMP_2s (t->peer),
GMT_state2s (state));
- if (MESH_TUNNEL3_WAITING == t->state && MESH_TUNNEL3_READY == state)
+ if (myid != GMP_get_short_id(t->peer) &&
+ MESH_TUNNEL3_WAITING == t->state && MESH_TUNNEL3_READY == state)
{
rekey_tunnel (t, NULL);
}