summaryrefslogtreecommitdiffstats
path: root/perl-install/security
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-11 02:22:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-11 02:22:15 +0000
commit60c5be6245a02d6f09aebd2d257716a578bc90c3 (patch)
tree9deeba176c0a0e0271bac780541305e799d668e9 /perl-install/security
parent07d2e1e1e8da3b23c77c741236312c63485c550b (diff)
downloaddrakx-60c5be6245a02d6f09aebd2d257716a578bc90c3.tar
drakx-60c5be6245a02d6f09aebd2d257716a578bc90c3.tar.gz
drakx-60c5be6245a02d6f09aebd2d257716a578bc90c3.tar.bz2
drakx-60c5be6245a02d6f09aebd2d257716a578bc90c3.tar.xz
drakx-60c5be6245a02d6f09aebd2d257716a578bc90c3.zip
perl_checker compliance
Diffstat (limited to 'perl-install/security')
-rw-r--r--perl-install/security/l10n.pm2
-rw-r--r--perl-install/security/msec.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/security/l10n.pm b/perl-install/security/l10n.pm
index 71d0e2b71..64d0c2520 100644
--- a/perl-install/security/l10n.pm
+++ b/perl-install/security/l10n.pm
@@ -6,7 +6,7 @@ package security::l10n;
use common;
-sub fields {
+sub fields() {
return (
'accept_bogus_error_responses' => N("Accept bogus IPv4 error messages"),
'accept_broadcasted_icmp_echo' => N("Accept broadcasted icmp echo"),
diff --git a/perl-install/security/msec.pm b/perl-install/security/msec.pm
index 4870d75b6..706daf5b7 100644
--- a/perl-install/security/msec.pm
+++ b/perl-install/security/msec.pm
@@ -127,7 +127,7 @@ sub set_check {
sub apply_functions {
my ($msec) = @_;
- my @list = sort ($msec->list_functions('system'), $msec->list_functions('network'));
+ my @list = sort($msec->list_functions('system'), $msec->list_functions('network'));
substInFile {
foreach my $function (@list) { s/^$function.*\n// }
if (eof) {