On Wed, 2007-10-10 at 14:02 +0200, Bernd Petrovitsch wrote:
> On Die, 2007-10-09 at 09:01 -0300, Vinicius Pacheco wrote:
[....]
> > Download at:
> > 
> > http://sourceforge.net/projects/olsrd-snmpd
> 
> Will try ASAP.

Sorry, never did (since it didn't apply to CVS-HEAD).

But I somewhat hacked around and it compiles now against CVS-HEAD. Patch
against v1.1 is at
http://bernd.petrovitsch.priv.at/olsr-ng/snmp-v1.1-20071106.patch

Issues with it:
- not tested (as I'm not experienced with the inner workings of
  net-snmp)!
- we have now only one table with all routes in it so either the MIB
  must be change or we need another solution (e.g. a bitfield carrying
  the information where a route is from).
- IPv6 is partly missing (as in the original patch): We have some type
  problem as IPv4 uses a real netmask and IPv6 the prefix len. My
  proposal is to change the MIB to always distribute and accept a
  prefix length (and convert it in the plugin for the time being) as
  this works for IPv4 and IPv6 similarily. And I/we are driving the
  source also in that direction.
- lots of more FIXMEs are in there (and I probably also forget to add
  some).
Feel free to ask if the changes are strange.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



