Skip to content

Unable to use public IPv6 for ip_address argument #2

@lukeweller

Description

@lukeweller

When I attempt to use my server's public IPv6 ip address as an option for the script, I get the following error:

Use of uninitialized value in subroutine entry at /usr/local/bin/wakeonlan line 75.
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/local/bin/wakeonlan line 75.

It looks as though using the IPv6 ip is not supported by the script at this time. Is that a feature that needs to be added, or am I using the script incorrectly?

Note: The script works correctly when using no ip_address argument or my local ip address

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions