summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakids
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-19 16:12:02 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-19 16:12:02 +0000
commitde1e987968703ab7d9591fa52f3842f06d6ee072 (patch)
treef42f084af624a02292497147b461bfd3a5a5160e /perl-install/standalone/drakids
parente6cd521492738340b8f61fd8ac826ce5bf31239c (diff)
downloaddrakx-backup-do-not-use-de1e987968703ab7d9591fa52f3842f06d6ee072.tar
drakx-backup-do-not-use-de1e987968703ab7d9591fa52f3842f06d6ee072.tar.gz
drakx-backup-do-not-use-de1e987968703ab7d9591fa52f3842f06d6ee072.tar.bz2
drakx-backup-do-not-use-de1e987968703ab7d9591fa52f3842f06d6ee072.tar.xz
drakx-backup-do-not-use-de1e987968703ab7d9591fa52f3842f06d6ee072.zip
try to get protocol as text
Diffstat (limited to 'perl-install/standalone/drakids')
-rw-r--r--perl-install/standalone/drakids4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakids b/perl-install/standalone/drakids
index b4870c987..52763432e 100644
--- a/perl-install/standalone/drakids
+++ b/perl-install/standalone/drakids
@@ -126,9 +126,9 @@ sub handle_blacklist {
$prefix eq 'SERV' ? N("Service attack") :
$prefix eq 'PASS' ? N("Password cracking") :
'',
- network::ifw::get_service($port) || '',
+ network::ifw::get_service($port),
$indev,
- $protocol || '',
+ network::ifw::get_protocol($protocol),
];
}