We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deef5db commit dd5742cCopy full SHA for dd5742c
components/net/lwip/src/core/ipv4/ip.c
@@ -83,7 +83,7 @@
83
|| (LWIP_IP_ACCEPT_UDP_PORT(port)))
84
#elif defined(LWIP_IP_ACCEPT_UDP_PORT) /* LWIP_DHCP && defined(LWIP_IP_ACCEPT_UDP_PORT) */
85
/* accept custom port only */
86
-#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))
87
#else /* LWIP_DHCP && defined(LWIP_IP_ACCEPT_UDP_PORT) */
88
/* accept DHCP client port only */
89
#define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(DHCP_CLIENT_PORT))
0 commit comments