summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-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 {