summaryrefslogtreecommitdiff
path: root/src/pt/test_gnunet_vpn.c
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-10 16:59:32 +0000
committerng0 <ng0@n0.is>2019-09-10 16:59:32 +0000
commit04b6df21cd281e8cd540139f8d9ae85defc1961c (patch)
tree6357199445df8d5c0c631bc8f10aef838b1f9f1e /src/pt/test_gnunet_vpn.c
parent483b0139a218a5f8a8311bda3eb23bcd88f57688 (diff)
downloadgnunet-04b6df21cd281e8cd540139f8d9ae85defc1961c.tar.gz
gnunet-04b6df21cd281e8cd540139f8d9ae85defc1961c.zip
remove CYGWIN codeblocks, drop vendored Windows openvpn, drop win32 specific files.
configures and builds okay. testsuite wasn't checked, will be checked. diff including the plibc removal is now around 14370 lines of code less.
Diffstat (limited to 'src/pt/test_gnunet_vpn.c')
-rw-r--r--src/pt/test_gnunet_vpn.c3
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!