[asterisk-bugs] [JIRA] (ASTERISK-29819) utils.c: Remove all usages of ast_gethostbyname()

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Jan 6 14:09:07 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257666#comment-257666 ] 

Friendly Automation commented on ASTERISK-29819:
------------------------------------------------

Change 17835 merged by Kevin Harwell:
utils.c: Remove all usages of ast_gethostbyname()

[https://gerrit.asterisk.org/c/asterisk/+/17835|https://gerrit.asterisk.org/c/asterisk/+/17835]

> utils.c: Remove all usages of ast_gethostbyname()
> -------------------------------------------------
>
>                 Key: ASTERISK-29819
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29819
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Addons/chan_ooh323, Applications/app_festival, Channels/chan_iax2, Channels/chan_mgcp, Channels/chan_skinny, Channels/chan_unistim, Core/Configuration
>    Affects Versions: GIT
>            Reporter: Sean Bright
>            Assignee: Sean Bright
>
> {{gethostbyname()}} and {{gethostbyname_r()}} are deprecated in favor of {{getaddrinfo()}} which we use in the {{ast_sockaddr}} family of functions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list