summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-14 18:15:08 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-14 18:15:08 +0000
commit8bc507613f0b82e9172a2601018d1f488986cc11 (patch)
treefdfc96817bb045bfe32941a872371ac72194e7d3 /perl-install
parentb3e7b3af6747803b0a37dff6ecd194f7d77e5c7e (diff)
downloaddrakx-backup-do-not-use-8bc507613f0b82e9172a2601018d1f488986cc11.tar
drakx-backup-do-not-use-8bc507613f0b82e9172a2601018d1f488986cc11.tar.gz
drakx-backup-do-not-use-8bc507613f0b82e9172a2601018d1f488986cc11.tar.bz2
drakx-backup-do-not-use-8bc507613f0b82e9172a2601018d1f488986cc11.tar.xz
drakx-backup-do-not-use-8bc507613f0b82e9172a2601018d1f488986cc11.zip
use real IP address
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 68e02fc92..23f3c4a04 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -231,7 +231,7 @@ sub initDBus {
sub handleAttack {
my ($seq, $timestamp, $indev, $prefix, $sensor, $protocol, $addr, $port, $icmp_type) = @_;
- my $ip_addr = join(".", unpack('C4', $addr));
+ my $ip_addr = inet_ntoa(pack('N', $addr));
#- try to resolve address, timeout after 2 seconds
my $hostname;
eval {