aboutsummaryrefslogtreecommitdiffstats
path: root/config/ftpproxy/ftpproxy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/ftpproxy/ftpproxy.inc')
-rw-r--r--config/ftpproxy/ftpproxy.inc6
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":