Changeset ac337bc in rtems


Ignore:
Timestamp:
Sep 26, 2008, 3:03:29 PM (11 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, master
Children:
97553d80
Parents:
618cae2
Message:

Final resolution of this "small" por t number change.

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r618cae2 rac337bc  
     12008-09-26      Eric Norum <norume@aps.anl.gov>
     2
     3        * libnetworking/lib/rtems_bsdnet_ntp.c: Final resolution of this "small" port number change.
     4
    152008-09-25      Eric Norum <norume@aps.anl.gov>
    26
  • cpukit/libnetworking/lib/rtems_bsdnet_ntp.c

    r618cae2 rac337bc  
    172172        memset (&myAddr, 0, sizeof myAddr);
    173173        myAddr.sin_family = AF_INET;
    174         myAddr.sin_port = htons (123);
     174        myAddr.sin_port = htons (0);
    175175        myAddr.sin_addr.s_addr = htonl (INADDR_ANY);
    176176        if (bind (s, (struct sockaddr *)&myAddr, sizeof myAddr) < 0) {
Note: See TracChangeset for help on using the changeset viewer.