mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 09:03:49 +08:00
Fix compile when SNMPv3 is disabled
This commit is contained in:
@@ -351,14 +351,12 @@ struct snmp_statistics
|
||||
u32_t outsetrequests;
|
||||
u32_t outgetresponses;
|
||||
u32_t outtraps;
|
||||
#if LWIP_SNMP_V3
|
||||
u32_t unsupportedseclevels;
|
||||
u32_t notintimewindows;
|
||||
u32_t unknownusernames;
|
||||
u32_t unknownengineids;
|
||||
u32_t wrongdigests;
|
||||
u32_t decryptionerrors;
|
||||
#endif
|
||||
};
|
||||
|
||||
extern struct snmp_statistics snmp_stats;
|
||||
|
||||
@@ -279,7 +279,7 @@
|
||||
* THIS IS UNDER DEVELOPMENT AND SHOULD NOT BE ENABLED IN PRODUCTS.
|
||||
*/
|
||||
#ifndef LWIP_SNMP_V3
|
||||
#define LWIP_SNMP_V3 1
|
||||
#define LWIP_SNMP_V3 0
|
||||
#endif
|
||||
|
||||
#ifndef LWIP_SNMP_V3_MBEDTLS
|
||||
|
||||
Reference in New Issue
Block a user