diff options
author | Eric Norum <WENorum@lbl.gov> | 2008-09-26 15:03:29 +0000 |
---|---|---|
committer | Eric Norum <WENorum@lbl.gov> | 2008-09-26 15:03:29 +0000 |
commit | ac337bc053f45d856b8d6dbdcbd8d674cb693f32 (patch) | |
tree | 6b4c1e496c5b1dfc2be573b94e3d327f891276c7 /cpukit/libnetworking | |
parent | 2008-09-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ac337bc053f45d856b8d6dbdcbd8d674cb693f32.tar.bz2 |
Final resolution of this "small" por t number change.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r-- | cpukit/libnetworking/lib/rtems_bsdnet_ntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c b/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c index a005018815..8e19259bfc 100644 --- a/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c +++ b/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c @@ -171,7 +171,7 @@ int ret; } memset (&myAddr, 0, sizeof myAddr); myAddr.sin_family = AF_INET; - myAddr.sin_port = htons (123); + myAddr.sin_port = htons (0); myAddr.sin_addr.s_addr = htonl (INADDR_ANY); if (bind (s, (struct sockaddr *)&myAddr, sizeof myAddr) < 0) { fprintf (stderr, "rtems_bsdnet_get_ntp() Can't bind socket: %s\n", strerror (errno)); |