Passera Pablo-APP015 wrote:
>       After compiling the snmpusm application, I've noticed that the
> command line options were working different for Solaris than for Linux.
> Looking at the code, for Solaris the application is using an internal
> implementation of the function getopt. This implementation returns after
> founding an options without a "-" in front (e.g. the agent IP address).
> So, the -Cx or -Ce options weren't being parsed because they are after
> the IP address. Should the getopt implementation be changed to mimic the
> Linux implementation?

Yes, I think there are open issues with the getopt behaviour on Solaris.
IIRC "--<token>=<value>" doesn't work either. Patches appreciated.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to