mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
2008-09-25 Eric Norum <norume@aps.anl.gov>
* libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
This commit is contained in:
1 parent
f1cb4fc843
commit
0655f79d8e
2 files changed
+5
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2008-09-25 Eric Norum <norume@aps.anl.gov>
|
||||
|
||||
* libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
|
||||
|
||||
2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libfs/src/imfs/deviceio.c: Eliminate duplicate implementation.
|
||||
|
||||
@@ -111,7 +111,7 @@ tryServer (int i, int s, rtems_bsdnet_ntp_callback_t callback, void *usr_data)
|
||||
if (i >= 0) {
|
||||
memset (&farAddr, 0, sizeof farAddr);
|
||||
farAddr.sin_family = AF_INET;
|
||||
farAddr.sin_port = htons (0);
|
||||
farAddr.sin_port = htons (123);
|
||||
farAddr.sin_addr = rtems_bsdnet_ntpserver[i];
|
||||
memset (&packet, 0, sizeof packet);
|
||||
packet.li_vn_mode = (3 << 3) | 3; /* NTP version 3, client */
|
||||
|
||||
Reference in new issue
Block a user