mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
raop: Add IPv6 support
This commit is contained in:
parent
3e53f47c8d
commit
3de65e61e4
2 changed files with 17 additions and 8 deletions
|
|
@ -330,7 +330,7 @@ static void on_connection(pa_socket_client *sc, pa_iochannel *io, void *userdata
|
|||
}
|
||||
} else if (AF_INET6 == sa.sa.sa_family) {
|
||||
if ((res = inet_ntop(AF_INET6, &sa.in6.sin6_addr, buf, sizeof(buf)))) {
|
||||
c->localip = pa_sprintf_malloc("[%s]", res);
|
||||
c->localip = pa_xstrdup(res);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue