Commit bf732b7e authored by Erick Hitter's avatar Erick Hitter
Browse files

Use the validated IPv6 address

parent 7a79b514
...@@ -80,7 +80,7 @@ func main() { ...@@ -80,7 +80,7 @@ func main() {
// TODO: parse to /64, use ::1. // TODO: parse to /64, use ::1.
query := endpoint.Query() query := endpoint.Query()
query.Set("myip6", ipv6) query.Set("myip6", ipv6Valid.String())
endpoint.RawQuery = query.Encode() endpoint.RawQuery = query.Encode()
} }
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment