kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

ntpdate does not work because of recvfrom #664

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make confload-x86/nonvga_debug
2. ntpdate 10.0.2.10
3. I've got connection timeout (ETIMEDOUT)

What is the expected output? What do you see instead?
Look at ntpdate.c:87 - (addr.sin_addr.s_addr != server_addr). This check is 
always false because recvfrom does not fill addr.

Original issue reported on code.google.com by alexkalmuk@gmail.com on 13 Dec 2013 at 3:33

GoogleCodeExporter commented 9 years ago
The best solution is to fix recvfrom

Original comment by alexkalmuk@gmail.com on 13 Dec 2013 at 3:34

GoogleCodeExporter commented 9 years ago
fixed by r12115

Original comment by ki.stfu on 13 Dec 2013 at 5:41