uname: Linux 2.6.18.2-34-default
Distribution: OpenSUSE 10.2
NET-SNMP version: 5.5.dev (SVN 2007/Apr/24)
configuration: --enable-ipv6
--with-mib-modules="ip-mib/ipAddressPrefixTable"
This patch requires patch#1692768 and patch#1692817 to be applied.
Problem Summary:
List of oids fixed in this release:
ipv4:
1. ipAddressPrefixPrefix: Shows incorrect prefix value.
2. ipAddressPrefixLength: Shows length as always 0.
3. ipAddressPrefixOrigin: Shows incorrect value. "wellknow" is also implemented with this patch.
ipv6:
1. ipAddressPrefixOrigin: Wellknow and routeradv are supported with this patch.
2. ipAddressPrefixOnLinkFlag and ipAddressPrefixAutonomousFlag : Support for this is added.
3. ipAddressPrefixAdvPreferredLifetime and ipAddressPrefixAdvValidLifetime: Always returns 0
NOTE: please refer txt document provided with the patch for detailed information.
Detailed Problem and Solution for the patch doc
Logged In: YES
user_id=1725940
Originator: YES
File Added: ipAddressPrefixTableProblemDetails.txt
Logged In: YES
user_id=1725940
Originator: YES
File Added: ipAddressPrefixTablev6.svn.patch
Logged In: YES
user_id=1725940
Originator: YES
I have updated the patch file against the latest svn code version 16331. This will patch well against the latest trunk. One important thing that i forgot to mention is that after patching you need to run
autoreconf -i --force as there is a change done in configure.in, failing which will result in compile errors.
Logged In: YES
user_id=1725940
Originator: YES
File Added: ipAddressPrefixTablev6.svn.patch
A patch for the above problems
Logged In: YES
user_id=1725940
Originator: YES
Updated the patch against the latest svn 16503. autoreconf need not be done.
Logged In: YES
user_id=76242
Originator: NO
Thanks for the patch! It has been applied to the current
development code, and will appear in the next major release
of the Net-SNMP package.
Logged In: YES
user_id=848638
Originator: NO
Unfortunately, the patch uses pthread_mutext_t without explicitely checking for it. This breaks the build on systems (e.g. HP-UX) that do have pthread.h, but don't support pthread_mutext_t. Would you be willing to improve your patch (by supplying an additional one on top of it) in this regard?
Logged In: YES
user_id=848638
Originator: NO
Found it myself: it was just a missing #include<pthread.h>. Fixed in r16833.
Logged In: YES
user_id=1784238
Originator: NO
snmpd with this patch spams syslog with "unable to find info" messages very often. I've removed this message (+few other possible spammers) in patch #1902105.
Logged In: YES
user_id=1725940
Originator: YES
Thomas and Jan, thanks a ton!!! Sorry for the silly mistakes :)