CLEANUP: resolvers: fix comment typos and wrong filenames in file headers
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run

A few asorted comment fixes for resolvers (incorrect file name etc).
This commit is contained in:
Willy Tarreau 2026-05-22 06:34:31 +00:00
parent 6bb8cb51e6
commit 32fc35ef09
3 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
/*
* include/haproxy/dns-t.h
* include/haproxy/resolvers-t.h
* This file provides structures and types for DNS.
*
* Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
@ -281,7 +281,7 @@ enum {
* matching preference was found.
*/
RSLV_UPD_SRVIP_NOT_FOUND, /* provided IP not found
* OR provided IP found and preference is not match and an IP
* OR provided IP found and preference is not matched and an IP
* matching preference was found.
*/
RSLV_UPD_NO_IP_FOUND, /* no IP could be found in the response */

View file

@ -1,5 +1,5 @@
/*
* include/haproxy/dns.h
* include/haproxy/resolvers.h
* This file provides functions related to DNS protocol
*
* Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>

View file

@ -226,7 +226,7 @@ struct show_resolvers_ctx {
};
/* returns the currently accepted address families as a combination of
* RSLV_ACCEPT_IPV4 and RSLV_ACCEPT_IPV6 only. It will dynamically adapt adapt
* RSLV_ACCEPT_IPV4 and RSLV_ACCEPT_IPV6 only. It will dynamically adapt
* the IPv6 status to sock_inet6_seems_reachable if RSLV_AUTO_FAMILY is set,
* otherwise returns the relevant bits of resolv_accept_families.
*/
@ -509,7 +509,7 @@ resolv_run_resolution(struct resolv_resolution *resolution)
return 0;
/* Check if a resolution has already been started for this server return
* directly to avoid resolution pill up. */
* directly to avoid resolution pile up. */
if (resolution->step != RSLV_STEP_NONE)
return 0;