SNMP_Session.pm uses inet_ntop when reporting failures on IPv6 hosts, but that function isn't being imported from Socket6.pm. Fix: In net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm change both instances of Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); to Socket6->import(qw(pack_sockaddr_in6 inet_pton inet_ntop getaddrinfo)); How-To-Repeat: Configure a v6 host in MRTG that is down, and watch MRTG crash when it tries to print its error message.
Responsible Changed From-To: freebsd-ports-bugs->demon Over to maintainer (via the GNATS Auto Assign Tool)
unpack_sockaddr_in6 may also be necessary under Perl 5.12.3.
demon 2011-07-04 11:57:38 UTC FreeBSD ports repository Modified files: net-mgmt/p5-SNMP_Session/files patch-SNMP_Session.pm Log: Fix crash when reporting IPv6 error. PR: 157571 Submitted by: Mike Andrews <mandrews@bit0.com> Revision Changes Path 1.2 +2 -2 ports/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fix committed, pls re-check if it works.