mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 23:15:37 +00:00
fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong
This commit is contained in:
parent
5cfef5bf48
commit
277c7aa518
@ -49,6 +49,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2011-10-09: Simon Goldschmidt
|
||||||
|
* ip4.c: fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong
|
||||||
|
|
||||||
2011-09-27: Simon Goldschmidt
|
2011-09-27: Simon Goldschmidt
|
||||||
* tcp_in.c, tcp_out.c: Reset pcb->unsent_oversize in 2 more places...
|
* tcp_in.c, tcp_out.c: Reset pcb->unsent_oversize in 2 more places...
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
|| (LWIP_IP_ACCEPT_UDP_PORT(port)))
|
|| (LWIP_IP_ACCEPT_UDP_PORT(port)))
|
||||||
#elif defined(LWIP_IP_ACCEPT_UDP_PORT) /* LWIP_DHCP && defined(LWIP_IP_ACCEPT_UDP_PORT) */
|
#elif defined(LWIP_IP_ACCEPT_UDP_PORT) /* LWIP_DHCP && defined(LWIP_IP_ACCEPT_UDP_PORT) */
|
||||||
/* accept custom port only */
|
/* accept custom port only */
|
||||||
#define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) (LWIP_IP_ACCEPT_UDP_PORT(dst_port))
|
#define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) (LWIP_IP_ACCEPT_UDP_PORT(port))
|
||||||
#else /* LWIP_DHCP && defined(LWIP_IP_ACCEPT_UDP_PORT) */
|
#else /* LWIP_DHCP && defined(LWIP_IP_ACCEPT_UDP_PORT) */
|
||||||
/* accept DHCP client port only */
|
/* accept DHCP client port only */
|
||||||
#define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(DHCP_CLIENT_PORT))
|
#define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(DHCP_CLIENT_PORT))
|
||||||
|
Loading…
Reference in New Issue
Block a user