From a38c6229b09bae696cbd85dd887b427291544ee4 Mon Sep 17 00:00:00 2001 From: clk Date: Thu, 13 Mar 2025 11:48:05 +0100 Subject: [PATCH] Fixed issue https://github.com/userjack6880/Open-Report-Parser/issues/36 --- report-parser.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report-parser.pl b/report-parser.pl index a6049a3..4b140b1 100755 --- a/report-parser.pl +++ b/report-parser.pl @@ -1646,7 +1646,7 @@ sub storeJSONInDatabase { $iptype = "ip"; } elsif($nip = inet_pton(AF_INET6, $ip)) { - $ipval = $dbx{to_hex_string}{$nip}; + $ipval = $dbx{to_hex_string}($nip); $iptype = "ip6"; } else { @@ -1830,4 +1830,4 @@ sub db_column_info { $columns{$column} = $db_info->{$column}{$dbx{column_info_type_col}}; } return %columns; -} \ No newline at end of file +}