A few asorted comment fixes for resolvers (incorrect file name etc).
/*
- * 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>
* 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 */
/*
- * include/haproxy/dns.h
+ * include/haproxy/resolvers.h
* This file provides functions related to DNS protocol
*
* Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
};
/* 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.
*/
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;