MT#55283 fix num_ports not being set

Change-Id: I98b11a011063ae334118d977adc7b06fb9bff9c3
(cherry picked from commit 8f13d83d2b)
(cherry picked from commit 20a29777f4)
mr11.5.1
Richard Fuchs 4 months ago
parent 722b5ea572
commit ebf6283f29

@ -782,11 +782,12 @@ static struct endpoint_map *__get_endpoint_map(struct call_media *media, unsigne
else
em->wildcard = 1;
em->logical_intf = media->logical_intf;
em->num_ports = num_ports;
g_queue_init(&em->intf_sfds);
g_queue_push_tail(&media->endpoint_maps, em);
}
em->num_ports = num_ports;
if (num_ports > 16)
return NULL;
if (get_consecutive_ports(&intf_sockets, num_ports, want_interfaces, media))

Loading…
Cancel
Save