Browse Source

MT#55283 fix num_ports not being set

Change-Id: I98b11a011063ae334118d977adc7b06fb9bff9c3
(cherry picked from commit 8f13d83d2b)
mr12.5
Richard Fuchs 5 months ago
parent
commit
36e402b93b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      daemon/call.c

+ 2
- 1
daemon/call.c View File

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


Loading…
Cancel
Save