mdns: fix compiler errors and coding style

This commit is contained in:
Simon Goldschmidt
2019-01-30 20:15:26 +01:00
parent b4be0d8808
commit 8e86555f93
4 changed files with 38 additions and 31 deletions

View File

@@ -36,6 +36,15 @@
#include "lwipopts_test.h"
#else /* LWIP_OPTTEST_FILE */
//#define LWIP_HAVE_MBEDTLS
#define ALTCP_MBEDTLS_USE_SESSION_TICKETS 1
#define ALTCP_MBEDTLS_USE_SESSION_CACHE 1
/*
* struct lwip_sock *tryget_socket_unconn_nouse(int fd);
*/
#define LWIP_SOCKET_EXTERNAL_ALLOC 0//1
#define LWIP_IPV4 1
#define LWIP_IPV6 1
@@ -47,7 +56,7 @@
#define LWIP_IGMP LWIP_IPV4
#define LWIP_ICMP LWIP_IPV4
#define LWIP_SNMP LWIP_UDP
#define LWIP_SNMP 0//LWIP_UDP
#define MIB2_STATS LWIP_SNMP
#ifdef LWIP_HAVE_MBEDTLS
#define LWIP_SNMP_V3 (LWIP_SNMP)