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:
40d8f71
)
bugfixes in gnunet-vpn-helper
author
Philipp Tölke
<toelke@in.tum.de>
Tue, 20 Jul 2010 11:36:45 +0000
(11:36 +0000)
committer
Philipp Tölke
<toelke@in.tum.de>
Tue, 20 Jul 2010 11:36:45 +0000
(11:36 +0000)
src/vpn/gnunet-vpn-helper.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-vpn-helper.c
b/src/vpn/gnunet-vpn-helper.c
index 1c6df623a8ab9f3548d75b22ad15db733c4383b4..0577173b05393d4ac77c78ff3f8f702dddc62071 100644
(file)
--- a/
src/vpn/gnunet-vpn-helper.c
+++ b/
src/vpn/gnunet-vpn-helper.c
@@
-122,7
+122,7
@@
int main(int argc, char** argv) {
// TODO: get this out of argv
char address[] = "1234::1";
- unsigned long prefix_len =
8
;
+ unsigned long prefix_len =
16
;
set_address(dev, address, prefix_len);
@@
-167,7
+167,6
@@
outer:
wri=0;
goto outer;
}
- r = 0;
while (r < ntohl(pkt->hdr.size)) {
int t = read(0, buf + r, ntohl(pkt->hdr.size) - r);
if (r < 0) {