Skip to content

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

Open
chrisnew wants to merge 2 commits intojpoliv:masterfrom
chrisnew:master
Open

Implemented getaddrinfo to resolve domain names and to support IPv6#4
chrisnew wants to merge 2 commits intojpoliv:masterfrom
chrisnew:master

Conversation

@chrisnew
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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