Included switch LWIP_UDPLITE (enabled by default) to switch off UDP-Lite support if not needed (reduces udp.c code size)

This commit is contained in:
goldsimon
2007-06-10 12:02:24 +00:00
parent df0e4492a7
commit 95f4c02381
6 changed files with 31 additions and 9 deletions

View File

@@ -365,7 +365,9 @@ ip_input(struct pbuf *p, struct netif *inp) {
switch (IPH_PROTO(iphdr)) {
#if LWIP_UDP
case IP_PROTO_UDP:
#if LWIP_UDPLITE
case IP_PROTO_UDPLITE:
#endif
snmp_inc_ipindelivers();
udp_input(p, inp);
break;