diff options
author | jim-p <jimp@pfsense.org> | 2015-03-09 12:27:34 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-03-09 12:27:34 -0400 |
commit | 7f128e8c29466441667d43d16dea7c6992f3fe78 (patch) | |
tree | 0ef83d7a7949327442ad1813a1ec2444177595af /config/ftpproxy/ftpproxy.inc | |
parent | 858f699b0119f0c196c67740dbfb1fc2f037c2f2 (diff) | |
download | pfsense-packages-7f128e8c29466441667d43d16dea7c6992f3fe78.tar.gz pfsense-packages-7f128e8c29466441667d43d16dea7c6992f3fe78.tar.bz2 pfsense-packages-7f128e8c29466441667d43d16dea7c6992f3fe78.zip |
Remove broken IPv6 setting from ftp proxy.
Diffstat (limited to 'config/ftpproxy/ftpproxy.inc')
-rw-r--r-- | config/ftpproxy/ftpproxy.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/ftpproxy/ftpproxy.inc b/config/ftpproxy/ftpproxy.inc index 7f65e646..84a6e7cd 100644 --- a/config/ftpproxy/ftpproxy.inc +++ b/config/ftpproxy/ftpproxy.inc @@ -21,9 +21,6 @@ function sync_package_ftpproxy() { $start = "/usr/bin/killall -9 ftp-proxy\n"; $start .= "\t/usr/sbin/ftp-proxy "; - if ($cf["ipv6_enable"] == "on") { - $start .= " -6 "; - } if ($cf["anononly"] == "on") { $start .= " -A "; } @@ -121,9 +118,6 @@ function ftpproxy_generate_rules($type) { continue; } $rules .= "rdr pass on {$interface} inet proto tcp from any to any port 21 -> 127.0.0.1 port " . ftpproxy_get_port() . "\n"; - if ($cf["ipv6_enable"] == "on") { - $rules .= "rdr pass on {$interface} inet6 proto tcp from any to any port 21 -> ::1 port " . ftpproxy_get_port() . "\n"; - } } break; case "filter": |