From 338678fcc6fccaf292d68413b6fe5ea33d83c49a Mon Sep 17 00:00:00 2001 From: Christian Fuchs Date: Thu, 21 Mar 2013 16:44:05 +0000 Subject: * replaced no-nat delimiter which was % (reserved char on windows) with - for exit-helper-windows and exit-helper. * added ipv4 NAPT and removal functionality to exit-helper-windows * moved a few variables * next todo: ipv6 forwarding rules for netsh --- src/exit/gnunet-helper-exit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exit/gnunet-helper-exit.c') diff --git a/src/exit/gnunet-helper-exit.c b/src/exit/gnunet-helper-exit.c index 882778b3f..149241d9d 100644 --- a/src/exit/gnunet-helper-exit.c +++ b/src/exit/gnunet-helper-exit.c @@ -638,7 +638,7 @@ PROCESS_BUFFER: * @param argc must be 6 * @param argv 0: binary name ("gnunet-helper-exit") * 1: tunnel interface name ("gnunet-exit") - * 2: IPv4 "physical" interface name ("eth0"), or "%" to not do IPv4 NAT + * 2: IPv4 "physical" interface name ("eth0"), or "-" to not do IPv4 NAT * 3: IPv6 address ("::1"), or "-" to skip IPv6 * 4: IPv6 netmask length in bits ("64") [ignored if #4 is "-"] * 5: IPv4 address ("1.2.3.4"), or "-" to skip IPv4 @@ -747,7 +747,7 @@ main (int argc, char **argv) "Failed to enable IPv4 forwarding. Will continue anyway.\n"); } } - if (0 != strcmp (argv[2], "%")) + if (0 != strcmp (argv[2], "-")) { char *const iptables_args[] = { -- cgit v1.2.3