-fixes
authorChristian Grothoff <christian@grothoff.org>
Tue, 24 Jan 2012 15:01:16 +0000 (15:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 24 Jan 2012 15:01:16 +0000 (15:01 +0000)
src/vpn/test_gnunet_vpn.c

index 5ec62f531d5b605e4abf5d737dba47557c549c7e..91cb9c495b391450c753270c71803c4130eccf16 100644 (file)
@@ -374,7 +374,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   rr = GNUNET_VPN_redirect_to_ip (vpn,
                                  AF_INET,
                                  AF_INET,
-                                 &v4,
+                                 &v4.sin_addr,
                                  GNUNET_YES,
                                  GNUNET_TIME_UNIT_FOREVER_ABS,
                                  &allocation_cb, NULL);