diff --git a/include/asterisk/acl.h b/include/asterisk/acl.h index 86053f431c..973a3d0c21 100644 --- a/include/asterisk/acl.h +++ b/include/asterisk/acl.h @@ -143,7 +143,7 @@ int ast_get_ip(struct ast_sockaddr *addr, const char *value); * then this function acts exactly like a call to ast_get_ip. * * \param addr The IP address found. The address family is used as an input parameter to - * filter the returned adresses. if it is 0, both IPv4 and IPv6 addresses + * filter the returned addresses. if it is 0, both IPv4 and IPv6 addresses * can be returned. * * \param value The hostname to look up diff --git a/include/asterisk/dnsmgr.h b/include/asterisk/dnsmgr.h index 2c96d8e409..da83030649 100644 --- a/include/asterisk/dnsmgr.h +++ b/include/asterisk/dnsmgr.h @@ -68,11 +68,13 @@ void ast_dnsmgr_release(struct ast_dnsmgr_entry *entry); * \brief Allocate and initialize a DNS manager entry * * \param name the hostname - * \param result where to store the IP address as the DNS manager refreshes it. The address family - * is used as an input parameter to filter the returned adresses. if it is 0, both IPv4 * and IPv6 addresses can be returned. + * \param result where to store the IP address as the DNS manager refreshes it. + * The address family is used as an input parameter to filter the returned addresses. + * If it is 0, both IPv4 and IPv6 addresses can be returned. * \param dnsmgr Where to store the allocate DNS manager entry * \param service * + * \note * This function allocates a new DNS manager entry object, and fills it with * the provided hostname and IP address. This function _does_ force an initial * lookup, so it may block for some period of time.