diff options
Diffstat (limited to 'src/pt/test_gnunet_vpn.c')
-rw-r--r-- | src/pt/test_gnunet_vpn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c index 60f4aad2a..c52c0c6c9 100644 --- a/src/pt/test_gnunet_vpn.c +++ b/src/pt/test_gnunet_vpn.c | |||
@@ -420,7 +420,6 @@ main(int argc, char *const *argv) | |||
420 | char *exit_binary; | 420 | char *exit_binary; |
421 | int ret = 0; | 421 | int ret = 0; |
422 | 422 | ||
423 | #ifndef MINGW | ||
424 | if (0 != access("/dev/net/tun", R_OK)) | 423 | if (0 != access("/dev/net/tun", R_OK)) |
425 | { | 424 | { |
426 | GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, | 425 | GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, |
@@ -430,7 +429,7 @@ main(int argc, char *const *argv) | |||
430 | "WARNING: System unable to run test, skipping.\n"); | 429 | "WARNING: System unable to run test, skipping.\n"); |
431 | return 77; | 430 | return 77; |
432 | } | 431 | } |
433 | #endif | 432 | |
434 | vpn_binary = GNUNET_OS_get_libexec_binary_path("gnunet-helper-vpn"); | 433 | vpn_binary = GNUNET_OS_get_libexec_binary_path("gnunet-helper-vpn"); |
435 | exit_binary = GNUNET_OS_get_libexec_binary_path("gnunet-helper-exit"); | 434 | exit_binary = GNUNET_OS_get_libexec_binary_path("gnunet-helper-exit"); |
436 | if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary(vpn_binary, GNUNET_YES, "-d gnunet-vpn - - 169.1.3.3.7 255.255.255.0"))) || //ipv4 only please! | 435 | if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary(vpn_binary, GNUNET_YES, "-d gnunet-vpn - - 169.1.3.3.7 255.255.255.0"))) || //ipv4 only please! |