From 642348b69d4ec62d7d22830b0d1d92f32934d24c Mon Sep 17 00:00:00 2001 From: Mimmo La Fauci Date: Sat, 16 Mar 2013 15:08:08 +0100 Subject: Fix problem on UDP NTP client --- firmwares/wifishield/wifiHD/src/ard_tcp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmwares') diff --git a/firmwares/wifishield/wifiHD/src/ard_tcp.c b/firmwares/wifishield/wifiHD/src/ard_tcp.c index 0c1f72a..cbbf531 100644 --- a/firmwares/wifishield/wifiHD/src/ard_tcp.c +++ b/firmwares/wifishield/wifiHD/src/ard_tcp.c @@ -696,6 +696,7 @@ static int udp_start(struct ttcp* ttcp) { WARN("TTCP [%p]: udp connect failed\n", ttcp); return -1; } + udp_recv(ttcp->upcb, audp_recv_cb, ttcp); } else { /* bind to any IP address on port specified */ err = udp_bind(ttcp->upcb, IP_ADDR_ANY, ttcp->port); -- cgit v1.2.3-18-g5258