From 0cf7809e4926f01de6a7a404a9d311b5cf2b421b Mon Sep 17 00:00:00 2001 From: Philipp Tölke Date: Tue, 20 Jul 2010 11:36:45 +0000 Subject: bugfixes in gnunet-vpn-helper --- src/vpn/gnunet-vpn-helper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/vpn') diff --git a/src/vpn/gnunet-vpn-helper.c b/src/vpn/gnunet-vpn-helper.c index 1c6df623a..0577173b0 100644 --- 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) { -- cgit v1.2.3