Skip to content

Unban doesn't work for IPv6 #1712

Closed
Closed
@svarogg

Description

kaspactl v0.10.1:

$ kaspactl --rpcserver=10.0.58.227 --devnet Unban '[a00:886e::]'
{
    "unbanResponse":  {
        "error":  {
            "message":  "Could not parse IP [a00:886e::]"
        }
    }
}

The IP address [a00:886e::] was copied from GetPeerAddresses response.
(So if it's incorrectly formatted - we should fix GetPeerAddresses instead)

Probably happens with Ban as well.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions