Den 04-03-2015 kl. 10:17 skrev Gleb Smirnoff:
> I see, you use { CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST, 0 };
>
> I'd suggest to use getifaddrs(3), it uses more modern sysctl
> NET_RT_IFLISTL, note the L at end. And the library function
> takes the burden of parsing the stuff.

That looks interesting. I will give it try:-)

> Is it possible to disable compilation of deprecated IPV6-MIB implementation
> at compile time? It could be that would be just the right solution for
> future FreeBSD versions, instead of putting yet another ifdef into this
> awful pile of ifdefs, that I see in ipv6.c :)

./configure --with-out-mib-modules=mibII/ipv6

should do the trick

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to