Browse Source

MT#55283 update condition to test for socket

Change-Id: I0075eea1bbcb43dda86a38d5e328a5b2ec503653
pull/1981/head
Richard Fuchs 5 months ago
parent
commit
98a78a335e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/redis.c

+ 1
- 1
daemon/redis.c View File

@ -1422,7 +1422,7 @@ static int redis_sfds(call_t *c, struct redis_list *sfds) {
if (fd != -1) {
err = "failed to open ports";
__auto_type spl = get_specific_port(port, loc->spec, &c->callid);
if (!spl.links.length)
if (!spl.socket.family)
goto err;
set_tos(&spl.socket, c->tos);
sfd = stream_fd_new(&spl, c, loc);


Loading…
Cancel
Save