https://bugzilla.redhat.com/show_bug.cgi?id=2212317

            Bug ID: 2212317
           Summary: IPv6 is not working
           Product: Fedora
           Version: 37
                OS: Linux
            Status: NEW
         Component: perl-SNMP_Session
          Severity: medium
          Assignee: spo...@gmail.com
          Reporter: mspa...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: perl-devel@lists.fedoraproject.org, spo...@gmail.com
  Target Milestone: ---
    Classification: Fedora



SNMP_Session Perl library has issue in usage of IPv6.
Fix is in
https://github.com/sleinen/snmp-session/pull/15/commits/599378943bf3cac92fda33fc450d8ac04db41644

Reproducible: Always

Steps to Reproduce:
1. Set SNMP with IPv6 only (agentaddress [::1] in /etc/snmp/snmpd.conf)
2. Run the example in the attachment with: ./test.pl '[::1]' and check result.
Actual Results:  
Error:
  can't resolve "[::1]" to IP address
 at ./test.pl line 19.
Couldn't open SNMP session to [::1]:161. at /__PATH_TO_TEST__/test.pl line 20.

Expected Results:  
Something like:
1.3.6.1.2.1.1.1.0 => Linux man 6.2.15-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC
Thu May 11 17:37:39 UTC 2023 x86_64
1.3.6.1.2.1.1.4.0 => Root <root@localhost> (configure
/etc/snmp/snmp.local.conf)


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2212317
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to