diff --git a/CHANGELOG b/CHANGELOG index 2956375f..58b8a885 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -95,6 +95,9 @@ HISTORY ++ Bugfixes: + 2009-05-04 Simon Goldschmidt + * init.c: snmp was not initialized in lwip_init() + 2009-05-04 Frédéric Bernon * dhcp.c, netbios.c: Changes if IP_SOF_BROADCAST is enabled. diff --git a/src/core/init.c b/src/core/init.c index 80e8c6e6..277811a6 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -50,6 +50,7 @@ #include "lwip/raw.h" #include "lwip/udp.h" #include "lwip/tcp.h" +#include "lwip/snmp_msg.h" #include "lwip/autoip.h" #include "lwip/igmp.h" #include "lwip/dns.h" @@ -253,6 +254,9 @@ lwip_init(void) #if LWIP_TCP tcp_init(); #endif /* LWIP_TCP */ +#if LWIP_SNMP + snmp_init(); +#endif /* LWIP_SNMP */ #if LWIP_AUTOIP autoip_init(); #endif /* LWIP_AUTOIP */