diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-08-05 11:18:14 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-08-05 11:31:14 +0300 |
commit | 151b1ad35c1c71f46ce31d487c0e4d415c58f54e (patch) | |
tree | f62d94570ed272d823b95338d52c769348d08bd8 /contrib/libs/c-ares/src/lib/ares__socket.c | |
parent | 25798d43c70543e50210ea8d8dcdf856eef416cb (diff) | |
download | ydb-151b1ad35c1c71f46ce31d487c0e4d415c58f54e.tar.gz |
Update contrib/libs/c-ares to 1.30.0
98e3184a9a9a280bd65439e2e21a019576a65a9f
Diffstat (limited to 'contrib/libs/c-ares/src/lib/ares__socket.c')
-rw-r--r-- | contrib/libs/c-ares/src/lib/ares__socket.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/libs/c-ares/src/lib/ares__socket.c b/contrib/libs/c-ares/src/lib/ares__socket.c index da03755a50..d3990e7660 100644 --- a/contrib/libs/c-ares/src/lib/ares__socket.c +++ b/contrib/libs/c-ares/src/lib/ares__socket.c @@ -253,12 +253,6 @@ ares_status_t ares__open_connection(ares_channel_t *channel, struct server_connection *conn; ares__llist_node_t *node; int type = is_tcp ? SOCK_STREAM : SOCK_DGRAM; -#ifdef __OpenBSD__ - if ((is_tcp && server->tcp_port == 53) || - (!is_tcp && server->udp_port == 53)) { - type |= SOCK_DNS; - } -#endif switch (server->addr.family) { case AF_INET: |