summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorwuyangyong <[email protected]>2013-01-01 12:25:32 +0000
committerwuyangyong <[email protected]>2013-01-01 12:25:32 +0000
commitdd5742c9bcaf3b6f9a67ede300128bacd43bbe6b (patch)
tree4be0f9ae67c150f229b9521c9daaa02069b77896 /components
parentdeef5db54666548d04d397ced0ec352fa761cb4a (diff)
fix spelling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2581 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/net/lwip/src/core/ipv4/ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/lwip/src/core/ipv4/ip.c b/components/net/lwip/src/core/ipv4/ip.c
index 6f248716b6..0f7fa7d9ba 100644
--- a/components/net/lwip/src/core/ipv4/ip.c
+++ b/components/net/lwip/src/core/ipv4/ip.c
@@ -83,7 +83,7 @@
|| (LWIP_IP_ACCEPT_UDP_PORT(port)))
#elif defined(LWIP_IP_ACCEPT_UDP_PORT) /* LWIP_DHCP && defined(LWIP_IP_ACCEPT_UDP_PORT) */
/* 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) */
/* accept DHCP client port only */
#define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(DHCP_CLIENT_PORT))