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:
66fb4c4
)
- sending KX on loopback is very wrong, die
author
Bart Polot
<bart@net.in.tum.de>
Fri, 4 Nov 2016 09:47:14 +0000
(09:47 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 4 Nov 2016 09:47:14 +0000
(09:47 +0000)
src/cadet/gnunet-service-cadet_tunnel.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_tunnel.c
b/src/cadet/gnunet-service-cadet_tunnel.c
index 249974d81400d062deadadb38a74e0a6c59fd3c2..7d44b3545cc327039822ea2ef68f571b5469082f 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_tunnel.c
+++ b/
src/cadet/gnunet-service-cadet_tunnel.c
@@
-3217,13
+3217,8
@@
GCT_send_kx (struct CadetTunnel *t, int force_reply)
LOG (GNUNET_ERROR_TYPE_INFO, " already queued, nop\n");
return;
}
+ GNUNET_assert (GNUNET_NO == GCT_is_loopback (t));
- /* Avoid loopback. */
- if (GCT_is_loopback (t))
- {
- GNUNET_break (0);
- return;
- }
c = tunnel_get_connection (t);
if (NULL == c)
{