-Coders,

apps/snmptrapd_auth.c:netsnmp_trapd_check_auth() in 5.3+ is implemented as

  int netsnmp_trapd_check_auth(int authtypes)

but gets called as

  netsnmp_trapd_check_auth(traph->authtypes, pdu)

in apps/snmptrapd_handlers.c which we didn't notice because there wasn't
even a prototype for netsnmp_trapd_check_auth() in
apps/snmptrapd_auth.h. Now that I added it, the build fails, of course.

Are we going to

a) adjust the caller to say netsnmp_trapd_check_auth(traph->authtypes)
b) extend the prototype for a second argument (pdu) to be able to use it
in the future (e.g. for storing lastlookup)

?


+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