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

Look for different output on ping to support ipv6 #2057

Merged
merged 2 commits into from
Oct 29, 2022

Conversation

Meryl
Copy link

@Meryl Meryl commented Oct 28, 2022

A minor fix that makes it such that the server installer/starter batch script no longer fails on ipv6-connections because the output for ping is different between ipv4 and ipv6. Instead of looking for TTL= it looks for time=.

@NielsPilgaard
Copy link
Collaborator

I worry that this would break for ipv4, have you tested that? :)

@Meryl
Copy link
Author

Meryl commented Oct 29, 2022

I have just pushed a change that actually fixes all occurrences of the ping command, as there are also pings for general internet connectivity checks (these didn't cause problems before, because they default to ipv4).

I have tested this on ipv4 by disabling ipv6 on the adapter connecting me to the internet, and the startup script functions normally under those conditions.

Copy link
Collaborator

@NielsPilgaard NielsPilgaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you 👍

@NielsPilgaard NielsPilgaard merged commit 27f484a into EnigmaticaModpacks:develop Oct 29, 2022
SSyl pushed a commit to SSyl/Enigmatica2Expert-SSylTweaks that referenced this pull request Apr 17, 2023
Look for different output on ping to support ipv6
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