diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-20 15:37:26 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-20 15:37:26 +0000 |
commit | c7c370b254969a0b7044203e41a5a06111e1f29c (patch) | |
tree | 94c59758b20fded1f0af5d26f247da1dbabd88b7 | |
parent | e3a54d86e02c50011ac4f804462f8d77bd01151c (diff) | |
download | drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar.gz drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar.bz2 drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.tar.xz drakwizard-c7c370b254969a0b7044203e41a5a06111e1f29c.zip |
added localhost for internal use
-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"; |