Skip to content

Comments

fix: ensure ipv4 in default ip address#43

Merged
jason-lynch merged 1 commit intomainfrom
fix/default-ipv4-address
Jun 5, 2025
Merged

fix: ensure ipv4 in default ip address#43
jason-lynch merged 1 commit intomainfrom
fix/default-ipv4-address

Conversation

@jason-lynch
Copy link
Member

The method we were using to automatically determine the default IPv4 address for the host could return IPv6 in some systems, depending on the structure of /etc/hosts. udp4 is an IPv4-only network, so using it in this method guarantees that we'll get an IPv4 local address.

The method we were using to automatically determine the default IPv4
address for the host could return IPv6 in some systems, depending on
the structure of /etc/hosts. `udp4` is an IPv4-only network, so using
it in this method guarantees that we'll get an IPv4 local address.
@jason-lynch jason-lynch requested review from mmols and tsivaprasad June 4, 2025 21:04
@jason-lynch jason-lynch merged commit a70da4a into main Jun 5, 2025
2 checks passed
@jason-lynch jason-lynch deleted the fix/default-ipv4-address branch June 5, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants