Fix build when snmpv3 is not available. One more thanks, Erik :-)

This commit is contained in:
Dirk Ziegelmeier 2016-04-04 22:10:59 +02:00
parent 28652d4d51
commit 3a26e8b6cc

View File

@ -38,6 +38,8 @@
#include <string.h> #include <string.h>
#include "lwip/err.h" #include "lwip/err.h"
#if LWIP_SNMP && LWIP_SNMP_V3
/** /**
* @param username is a pointer to a string. * @param username is a pointer to a string.
* @param auth_algo is a pointer to u8_t. The implementation has to set this if user was found. * @param auth_algo is a pointer to u8_t. The implementation has to set this if user was found.
@ -139,3 +141,5 @@ void
snmpv3_reset_engine_time(void) snmpv3_reset_engine_time(void)
{ {
} }
#endif /* LWIP_SNMP && LWIP_SNMP_V3 */