diff options
author | Mimmo La Fauci <mlafauci@metodo2.it> | 2013-03-16 15:08:08 +0100 |
---|---|---|
committer | Mimmo La Fauci <mlafauci@metodo2.it> | 2013-03-16 15:08:08 +0100 |
commit | 642348b69d4ec62d7d22830b0d1d92f32934d24c (patch) | |
tree | 653439dc90218a205c586cb7df570b606386f9c4 /firmwares | |
parent | e477d8cffaf99465dc6815230e6b01ebe1f87b26 (diff) |
Fix problem on UDP NTP client
Diffstat (limited to 'firmwares')
-rw-r--r-- | firmwares/wifishield/wifiHD/src/ard_tcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |