diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-15 12:30:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-15 12:30:50 +0000 |
commit | 12c5d5b026fae9066ad279298197fd5ca407479d (patch) | |
tree | e2c36c856ac3247492656a134b9141fbb1addf75 /src/nat/test_nat_test.c | |
parent | 33769b2c1d815d73727a01bc9b785a951b4d29a1 (diff) | |
download | gnunet-12c5d5b026fae9066ad279298197fd5ca407479d.tar.gz gnunet-12c5d5b026fae9066ad279298197fd5ca407479d.zip |
actually use external resolution code; fix SUID check
Diffstat (limited to 'src/nat/test_nat_test.c')
-rw-r--r-- | src/nat/test_nat_test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c index 1b4d1bc1d..e960bc3fd 100644 --- a/src/nat/test_nat_test.c +++ b/src/nat/test_nat_test.c | |||
@@ -108,23 +108,23 @@ main (int argc, char *const argv[]) | |||
108 | #endif | 108 | #endif |
109 | NULL); | 109 | NULL); |
110 | 110 | ||
111 | nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server"); | 111 | nat_res = GNUNET_OS_check_helper_binary ("gnunet-helper-nat-server"); |
112 | if (GNUNET_NO == nat_res) | 112 | if (GNUNET_NO == nat_res) |
113 | { | 113 | { |
114 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", | 114 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", |
115 | "gnunet-nat-server", "SUID not set"); | 115 | "gnunet-helper-nat-server", "SUID not set"); |
116 | return 0; | 116 | return 0; |
117 | } | 117 | } |
118 | if (GNUNET_SYSERR == nat_res) | 118 | if (GNUNET_SYSERR == nat_res) |
119 | { | 119 | { |
120 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", | 120 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", |
121 | "gnunet-nat-server", "file not found"); | 121 | "gnunet-helper-nat-server", "file not found"); |
122 | return 0; | 122 | return 0; |
123 | } | 123 | } |
124 | 124 | ||
125 | gns = | 125 | gns = |
126 | GNUNET_OS_start_process (NULL, NULL, "gnunet-nat-server", | 126 | GNUNET_OS_start_process (NULL, NULL, "gnunet-helper-nat-server", |
127 | "gnunet-nat-server", | 127 | "gnunet-helper-nat-server", |
128 | #if VERBOSE | 128 | #if VERBOSE |
129 | "-L", "DEBUG", | 129 | "-L", "DEBUG", |
130 | #endif | 130 | #endif |