From 5b73921be37b340b1285663a75d435e85699e388 Mon Sep 17 00:00:00 2001 From: kieranm Date: Thu, 21 Aug 2003 10:47:46 +0000 Subject: [PATCH] Handle UDPLITE as well as UDP --- src/core/ipv4/ip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ipv4/ip.c b/src/core/ipv4/ip.c index 02c5d297..97c5e186 100644 --- a/src/core/ipv4/ip.c +++ b/src/core/ipv4/ip.c @@ -109,6 +109,7 @@ ip_lookup(void *header, struct netif *inp) switch (IPH_PROTO(iphdr)) { #if LWIP_UDP > 0 case IP_PROTO_UDP: + case IP_PROTO_UDPLITE: return udp_lookup(iphdr, inp); #endif /* LWIP_UDP */ #if LWIP_TCP > 0 @@ -400,6 +401,7 @@ ip_input(struct pbuf *p, struct netif *inp) { switch (IPH_PROTO(iphdr)) { #if LWIP_UDP > 0 case IP_PROTO_UDP: + case IP_PROTO_UDPLITE: snmp_inc_ipindelivers(); udp_input(p, inp); break;