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

Implemented getaddrinfo to resolve domain names and to support IPv6 #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chrisnew
Copy link

Greetings fellow wakeonlan enthusiasts!

Today I wanted to run wakeonlan in one of our IPv6-only networks and I discovered that this is not working.

I implemented the getaddrinfo dance to resolve names and numbers according to the playbook. This not only introduces proper IPv6 support, but also support to resolve domain names as a side effect. I took the liberty to rename IP address to target, but without changing the getopt structure to stay backward compatible.

It’s my first time hacking in Perl and I haven’t implement the validation for target yet. I also should update the manuals reflecting IPv6 and domain name support.

Please let me know if this is a good start and if not, what to fix.

Fixes #2.

Cheers!

@telmich
Copy link

telmich commented Aug 17, 2020

@jpoliv what do you think about the approach?

@chrisnew chrisnew mentioned this pull request May 4, 2022
@harryqt
Copy link

harryqt commented Sep 22, 2024

Why hasn't this merged yet?

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.

Unable to use public IPv6 for ip_address argument
3 participants