summaryrefslogtreecommitdiffstats
path: root/ftp_wizard/scripts
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-20 15:37:26 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-20 15:37:26 +0000
commitc7c370b254969a0b7044203e41a5a06111e1f29c (patch)
tree94c59758b20fded1f0af5d26f247da1dbabd88b7 /ftp_wizard/scripts
parente3a54d86e02c50011ac4f804462f8d77bd01151c (diff)
downloaddrakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar
drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar.gz
drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar.bz2
drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar.xz
drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.zip
added localhost for internal use
Diffstat (limited to 'ftp_wizard/scripts')
-rw-r--r--ftp_wizard/scripts/ProFtpconf.pm1
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";