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:
8775711
)
vpn: reported fixme;
author
Philipp Tölke
<toelke@in.tum.de>
Mon, 28 Jun 2010 12:37:46 +0000
(12:37 +0000)
committer
Philipp Tölke
<toelke@in.tum.de>
Mon, 28 Jun 2010 12:37:46 +0000
(12:37 +0000)
src/vpn/packet.c
patch
|
blob
|
history
diff --git
a/src/vpn/packet.c
b/src/vpn/packet.c
index 32e7744d1498e8f88dbd1e82574de26d46feb8b2..75d3b3f9c809fc708135b3b535a97763125f4ed3 100644
(file)
--- a/
src/vpn/packet.c
+++ b/
src/vpn/packet.c
@@
-54,6
+54,7
@@
int recv_pkt(int fd, struct pkt_tun** pkt) {{{
debug(1, 0, "reading an ipv6-packet\n");
struct ip6_pkt * pkt6 = (struct ip6_pkt*) *pkt;
size = payload(&(pkt6->hdr));
+ // TODO: size might be greater than r!
debug(1, 0, "read the size: %d\n", size);
return size;
break;