summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/ifw.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/ifw.pm b/perl-install/network/ifw.pm
index 8550ddcc5..31ad4344c 100644
--- a/perl-install/network/ifw.pm
+++ b/perl-install/network/ifw.pm
@@ -136,12 +136,12 @@ sub attack_to_hash {
$attack->{prefix} eq 'SCAN' ? N("Port scanning")
: $attack->{prefix} eq 'SERV' ? N("Service attack")
: $attack->{prefix} eq 'PASS' ? N("Password cracking")
- : undef;
+ : N(qq("%s" attack), $attack->{prefix});
$attack->{msg} =
$attack->{prefix} eq "SCAN" ? N("A port scanning attack has been attempted by %s.", $attack->{hostname})
: $attack->{prefix} eq "SERV" ? N("The %s service has been attacked by %s.", $attack->{service}, $attack->{hostname})
: $attack->{prefix} eq "PASS" ? N("A password cracking attack has been attempted by %s.", $attack->{hostname})
- : undef;
+ : N(qq(A "%s" attack has been attempted by %s), $attack->{prefix}, $attack->{hostname});
$attack;
}