Minor fix (coding style)

This commit is contained in:
fbernon 2007-06-10 20:02:43 +00:00
parent 95f4c02381
commit d81841f54e
2 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ pcb_new(struct api_msg_msg *msg)
}
#if LWIP_UDPLITE
if (msg->conn->type==NETCONN_UDPLITE) udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_UDPLITE);
#endif
#endif /* LWIP_UDPLITE */
if (msg->conn->type==NETCONN_UDPNOCHKSUM) udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_NOCHKSUM);
udp_recv(msg->conn->pcb.udp, recv_udp, msg->conn);
break;

View File

@ -367,7 +367,7 @@ ip_input(struct pbuf *p, struct netif *inp) {
case IP_PROTO_UDP:
#if LWIP_UDPLITE
case IP_PROTO_UDPLITE:
#endif
#endif /* LWIP_UDPLITE */
snmp_inc_ipindelivers();
udp_input(p, inp);
break;