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:
4dfdac9
)
- only complain if mid is BIGGER than expected, because sender sent unauthorized...
author
Bart Polot
<bart@net.in.tum.de>
Fri, 29 Nov 2013 13:28:37 +0000
(13:28 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 29 Nov 2013 13:28:37 +0000
(13:28 +0000)
src/mesh/gnunet-service-mesh_channel.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_channel.c
b/src/mesh/gnunet-service-mesh_channel.c
index 7cf53b333342b05f4b27ca1f48d93aabffe1436f..831010024bed0ca8ae04d463e43ce4d06e967717 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_channel.c
+++ b/
src/mesh/gnunet-service-mesh_channel.c
@@
-1710,7
+1710,7
@@
GMCH_handle_data (struct MeshChannel *ch,
}
else
{
- GNUNET_break_op (
0
);
+ GNUNET_break_op (
GM_is_pid_bigger (rel->mid_recv, mid)
);
LOG (GNUNET_ERROR_TYPE_DEBUG,
" !!! MID %u not expected (%u - %u), dropping!\n",
mid, rel->mid_recv, rel->mid_recv + 63);