hotfix(routing): unmap ipv4-in-ipv6 when converting

This commit is contained in:
Quentin McGaw
2023-05-22 08:03:52 +00:00
parent eed62fdc6d
commit 3100cc1e5e
2 changed files with 2 additions and 5 deletions

View File

@@ -39,5 +39,5 @@ func netIPToNetipAddress(ip net.IP) (address netip.Addr) {
if !ok {
panic(fmt.Sprintf("converting %#v to netip.Addr failed", ip))
}
return address
return address.Unmap()
}