Skip to content

[Bug]: Not a HASH reference at /root/Open-Report-Parser/report-parser.pl line 1651. #36

Description

@azerty9971

Describe the bug
If you have the tls report being served by an IPv6 server, then the following lines don't work:
elsif($nip = inet_pton(AF_INET6, $ip)) {
$ipval = $dbx{to_hex_string}{$nip}; <== this one
$iptype = "ip6";
}

I'm not a Perl developer at all, but should it be parenthesis instead of brackets around $nip ?

The error message that is sent is the following:
Not a HASH reference at /root/Open-Report-Parser/report-parser.pl line 1651.

To Reproduce
See above

Expected behavior
This should just work out of the box

Screenshots

Software Version
[X] Version 0 Alpha 5
[] Version 0 Alpha 4
[] Version 0 Alpha 3
[] Version 0 Alpha 2

Server (please complete the following information):

  • Ubuntu LTS 20.04
  • Perl Version 5.34.0
  • MariaDB 10.6.16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions