mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
modules: don't assume network addresses are numeric
There is no reason to disallow hostnames. Fixes #4292
This commit is contained in:
parent
86004ba3f1
commit
d36171f7df
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ static inline int pw_net_parse_address(const char *address, uint16_t port,
|
|||
memset(&hints, 0, sizeof(hints));
|
||||
hints.ai_family = AF_UNSPEC;
|
||||
hints.ai_socktype = SOCK_DGRAM;
|
||||
hints.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV;
|
||||
hints.ai_flags = AI_NUMERICSERV;
|
||||
|
||||
res = getaddrinfo(address, port_str, &hints, &result);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue