diff options
Diffstat (limited to 'ftp_wizard/scripts/ProFtpconf.pm')
-rw-r--r-- | ftp_wizard/scripts/ProFtpconf.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftp_wizard/scripts/ProFtpconf.pm b/ftp_wizard/scripts/ProFtpconf.pm index 5e737bbc..4cb55c6d 100644 --- a/ftp_wizard/scripts/ProFtpconf.pm +++ b/ftp_wizard/scripts/ProFtpconf.pm @@ -34,6 +34,7 @@ sub do_it { my $allow = "all"; if ($wiz_ftp_internal && !$wiz_ftp_external) { ($allow) = $o->get_from_known_dev("IP") =~ qr/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.)\d{1,3}$/; + $allow .= ", localhost"; } elsif (!$wiz_ftp_external) { $allow = "none"; |