On Fri, 2005-04-22 at 14:54, Robert Story wrote:
> Ok, I found my mistake. Reverse the previous patch,
> and apply this one instead...
@@ -704,6 +704,7 @@
session->version = SNMP_DEFAULT_VERSION;
session->securityModel = SNMP_DEFAULT_SECMODEL;
session->rcvMsgMaxSize = SNMP_MAX_MSG_SIZE;
+ session->flags &= SNMP_FLAGS_DONT_PROBE;
}
Err... did you *really* mean that, Robert?
Normally I'd expect to see either:
session->flags |= SNMP_FLAGS_DONT_PROBE;
(to set the flag)
or
session->flags &= ~SNMP_FLAGS_DONT_PROBE;
(to clear it)
A bitwise AND with the flag itself is likely to
evaluate to 0, surely?
Dave
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users