diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-12-12 19:00:24 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-12-12 19:00:24 +0000 |
commit | 25611d2bd7b7701903d49406500b0a38cde26c9d (patch) | |
tree | d36b90ce72020961533fc13e751fdf14b5a3a762 /src | |
parent | b07b67f7e840e64c24676d6102d6947edb44e4da (diff) | |
download | gnunet-25611d2bd7b7701903d49406500b0a38cde26c9d.tar.gz gnunet-25611d2bd7b7701903d49406500b0a38cde26c9d.zip |
- if a kx fails due to reconnect state, don't complain (it'll get retransmitted eventually)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index e92d54a65..92244937e 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c | |||
@@ -864,7 +864,7 @@ send_kx (struct MeshTunnel3 *t, | |||
864 | /* Must have a connection. */ | 864 | /* Must have a connection. */ |
865 | if (NULL == t->connection_head) | 865 | if (NULL == t->connection_head) |
866 | { | 866 | { |
867 | GNUNET_break (0); | 867 | GNUNET_break (MESH_TUNNEL3_SEARCHING == t->cstate); |
868 | return; | 868 | return; |
869 | } | 869 | } |
870 | 870 | ||
@@ -874,7 +874,7 @@ send_kx (struct MeshTunnel3 *t, | |||
874 | c = tunnel_get_connection (t); | 874 | c = tunnel_get_connection (t); |
875 | if (NULL == c) | 875 | if (NULL == c) |
876 | { | 876 | { |
877 | GNUNET_break (GNUNET_YES == t->destroy); | 877 | GNUNET_break (GNUNET_YES == t->destroy || MESH_TUNNEL3_READY != t->cstate); |
878 | return; | 878 | return; |
879 | } | 879 | } |
880 | type = ntohs (message->type); | 880 | type = ntohs (message->type); |