]> git.ipfire.org Git - thirdparty/squid.git/commit - lib/snmplib/snmp_api.c
Bug 1298: Multiple OIDs in SNMP GETNEXT not processed
authorserassio <>
Thu, 5 May 2005 21:44:44 +0000 (21:44 +0000)
committerserassio <>
Thu, 5 May 2005 21:44:44 +0000 (21:44 +0000)
commit0536fdfc5da5dca0f2baaa4ae9f084bbd7e62b6f
treebeb99be4f43f97bc3d4ba3b0095c705d2ea3eda9
parent64ffef5e31e8f777b78433310774cdd6fc4865f1
Bug 1298: Multiple OIDs in SNMP GETNEXT not processed
Bug 1299: SNMPv2 requests should result in SNMPv2 responses

This patch fixes some minor issues in the SNMP Agent. The GETNEXT/BULK
requests both may contain more than one OID just like normal GET, but
Squid ignored all but the first.

Also the response version was always SNMP Version 1, even if the request
was a SNMP Version 2(c) request.

Forward port of 2.5 patch
snmplib/snmp_api.c
src/snmp_core.cc
src/structs.h