SNMP_Session v0.96

Lorenzo Colitti <[email protected]>
Newsgroups gmane.network.mrtg.devel
Message-ID <[email protected]>
Simon Leinen wrote:
> See my last message for a version of SNMP_Session.pm that works (well)
> with Rafael's INET6.pm (1.26/1.90).

Hi Simon,

I was going to do this too, but I was waiting for Rafael's INET6.pm to 
be uploaded to CPAN before changing the code. I think that's the way it 
should be done.

But I noticed that the SNMP_Session.pm you posted does not contain the 
latest changes to the IPv6 detection code, which take out all the 
runtime eval{} blocks and check the length of sockaddr_in6 at startup.

If you remember, I sent you an initial version of those changes a few 
weeks ago, and the final version was subsequently applied to the 
SNMP_Session in MRTG 2.10.0pre2. I think it would be good if these 
changes were merged into the main SNMP_Session distribution as well, as 
they clean up the IPv6 code a bit and fix at least one bug reported by a 
MRTG user.

If you agree, a diff between the SNMP_Session in MRTG 2.10.0pre1 and the 
one in 2.10.0pre2 is here:

http://www.ee.ethz.ch/~slist/p/patch-mrtg-2.10.0pre1-snmpsessionv6patch

Perhaps it could be applied to the official SNMP_Session (v0.97?), which 
could then be used "as is" by MRTG. What do you think?


Regards,
Lorenzo

--
Unsubscribe mailto:[email protected]?subject=unsubscribe
Help        mailto:[email protected]?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.