Skip to content

IPv6: use net.JoinHostPort #4597

@zirain

Description

@zirain

Do not use following, it will cause problem on IPv6.

gwAddr = fmt.Sprintf("%s:%s", gwIP, port)

use net.JoinHostPort

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions