diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-14 21:00:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-14 21:00:35 +0000 |
commit | f181f6eaf8cdb1fdb47dc98cf171ad1be842b441 (patch) | |
tree | 667d56334e859df5d2c3d5c9e1811ef94d2b1af4 /src/exit/gnunet-daemon-exit.c | |
parent | 4f285bb38af149f35a1bd3e730ac6bac7b14fd53 (diff) | |
download | gnunet-f181f6eaf8cdb1fdb47dc98cf171ad1be842b441.tar.gz gnunet-f181f6eaf8cdb1fdb47dc98cf171ad1be842b441.zip |
-changing exit helper code to automatically do the network configuration for an exit node (by running sysctl/iptables commands as necessary)
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 9552da155..b0f0d215a 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -2026,7 +2026,7 @@ run (void *cls, char *const *args GNUNET_UNUSED, | |||
2026 | return; | 2026 | return; |
2027 | } | 2027 | } |
2028 | exit_argv[1] = tun_ifname; | 2028 | exit_argv[1] = tun_ifname; |
2029 | if (ipv4_exit) | 2029 | if (ipv4_enabled) |
2030 | { | 2030 | { |
2031 | if (GNUNET_SYSERR == | 2031 | if (GNUNET_SYSERR == |
2032 | GNUNET_CONFIGURATION_get_value_string (cfg, "exit", "EXIT_IFNAME", &exit_ifname)) | 2032 | GNUNET_CONFIGURATION_get_value_string (cfg, "exit", "EXIT_IFNAME", &exit_ifname)) |