Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace gethostbyname #483

Closed
jlucas9 opened this issue Jan 30, 2025 · 1 comment · Fixed by #484
Closed

Replace gethostbyname #483

jlucas9 opened this issue Jan 30, 2025 · 1 comment · Fixed by #484
Assignees

Comments

@jlucas9
Copy link
Contributor

jlucas9 commented Jan 30, 2025

The gethostbyname function was added to a number of applications to support hostname lookup in Docker in nos3. This is an obsolete function with known issues that should be upgraded - https://stackoverflow.com/questions/6638580/alternative-to-gethostbyname

@rjbrown2
Copy link
Member

rjbrown2 commented Jan 30, 2025

Should maybe consider replacing the inet_ntoa calls with inet_ntop if we plan to support IPV6 in the future.

I believe inet_ntoa is considered to be deprecated as well.

@rjbrown2 rjbrown2 self-assigned this Jan 30, 2025
@rjbrown2 rjbrown2 moved this to In Progress in NOS3 Path Forward Jan 30, 2025
@rjbrown2 rjbrown2 added the Bug label Jan 30, 2025
rjbrown2 added a commit to nasa/CryptoLib that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/hwlib that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/CFS_IO_LIB that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/SBN-Client that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/CFS_TO that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/to_lab that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/truth_42_sim that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/generic_radio that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/generic_radio that referenced this issue Jan 30, 2025
rjbrown2 added a commit that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/generic_radio that referenced this issue Jan 30, 2025
rjbrown2 added a commit that referenced this issue Jan 30, 2025
rjbrown2 added a commit to nasa-itc/CFS_IO_LIB that referenced this issue Jan 31, 2025
rjbrown2 added a commit that referenced this issue Feb 3, 2025
[#483] Update Deprecated gethostbyname to getaddrinfo
@rjbrown2 rjbrown2 closed this as completed Feb 3, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in NOS3 Path Forward Feb 3, 2025
rjbrown2 added a commit to nasa-itc/to_lab that referenced this issue Feb 6, 2025
[nasa/nos3#483] Update Deprecated gethostbyname to getaddrinfo
rjbrown2 added a commit to nasa-itc/CFS_TO that referenced this issue Feb 6, 2025
[nasa/nos3#483] Update Deprecated gethostbyname to getaddrinfo
rjbrown2 added a commit to nasa-itc/SBN-Client that referenced this issue Feb 6, 2025
[nasa/nos3#483] Update Deprecated gethostbyname to getaddrinfo
rjbrown2 added a commit to nasa-itc/hwlib that referenced this issue Feb 6, 2025
[nasa/nos3#483] Update Deprecated gethostbyname to getaddrinfo
Donnie-Ice added a commit to nasa/CryptoLib that referenced this issue Feb 13, 2025
Donnie-Ice added a commit to nasa/CryptoLib that referenced this issue Feb 13, 2025
Donnie-Ice added a commit to nasa/CryptoLib that referenced this issue Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants