Fix error in BROADCAST=y compilation

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@416 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-11-30 21:08:29 +00:00
parent 3dc55ecc72
commit 4ca632d1e6

View File

@ -410,7 +410,7 @@ void uip_input(struct uip_driver_s *dev)
*/
#ifdef CONFIG_NET_BROADCAST
if (BUF->proto == UIP_PROTO_UDP && uip_ipaddr_cmp(BUF->destipaddr, g_alloneaddr)
if (BUF->proto == UIP_PROTO_UDP && uip_ipaddr_cmp(BUF->destipaddr, g_alloneaddr))
{
uip_udpinput(dev);
return;