diff --git a/ChangeLog b/ChangeLog index 0fb5348d7eb39e8566dfec90b09f9bfb0236a5f9..55b263e1f88f3e8b44d98d6fa323fe1966fc50f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -453,4 +453,6 @@ * NSH: Add get and put commands to support TFTP get and put operations. * NSH: Added a mkrd command that will create a RAMDISK that can be formatted and mounted. + * Corrected a critical bug that prevent recvfrom from receiving packets from + any remote UDP port. diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 59f2afdf97bc4f76405b9289ea4adaa646fac007..4674077cc3335f5164cd99cdfe78c6244d56789b 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -1080,6 +1080,8 @@ nuttx-0.3.14 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> * NSH: Add get and put commands to support TFTP get and put operations. * NSH: Added a mkrd command that will create a RAMDISK that can be formatted and mounted. + * Corrected a critical bug that prevent recvfrom from receiving packets from + any remote UDP port. pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/net/recvfrom.c b/net/recvfrom.c index 12f50f8c308447522bda2b682e8f32c380f6bb65..34347112417a34643277770f523b19f7a5d3ff6b 100644 --- a/net/recvfrom.c +++ b/net/recvfrom.c @@ -780,7 +780,7 @@ static ssize_t udp_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len, /* Setup the UDP remote connection */ - ret = uip_udpconnect(conn, infrom); + ret = uip_udpconnect(conn, NULL); if (ret < 0) { irqrestore(save);