Community
Participate
Working Groups
Created attachment 162684 [details] Change sdm_message_tcpip.c to enable binding in a port range In ptp_3.0_branch and HEAD, there is a bug in org.eclipse.ptp.debug.sdm/src/impl/sdm_message_tcpip.c, funtion sdm_parent_port_bind(). Line 151 in this function loops until parentport < parentbaseport + MAX_PORT_INCREMENT. However, the increment of parentport is not used in the next loop as desired. Actually, the new parentport must be assigned to the sockaddr_info.sin_port before the next bind. Please see the detail modification in the attached patch.
Applied to 3.0 and HEAD.