Dave Shield wrote:
On Tue, 2005-11-01 at 13:41 -0700, Bruce Shaw wrote:
A status check on that work:
    I've been looking at the main three *BSD distributions, which
(for the most part) use fairly similar code, though there are some
(occasionally significant) differences between them.
   I've now got a partially-working version of 'snmpnetstat', based
mostly on the OpenBSD code, though adopting FreeBSD behaviour for
the interface display.

I'm about to commit this to the main CVS development tree, for your
delectation and delight(?)

I have done some testing with Windows and found that the new snmpnetstat does not compile. Some of the reasons are:

1. the variable 'interface' is generating an error in MSVC. Renaming the variable to something else such as _interface fixes it. 2. __progname in main.c is undefined. Should this be defined like in getopt.c?
3. IFNAMSIZ in if.c is undefined. (simple fix)
4. SIGALRM in if.c is undefined.
5. ffs() in route.c is undefined (not available in Windows). Is there an alternative?

For #4 I will need to see how it is handled in other parts of the code.

Alex


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to