mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
f205efcf18
We were copying 12 out of the 16 bytes which meant that the 1:1 NAT required would only work if the last 4 bytes happened to match between the new and old address, something that our tests accidentally had. Fix it by copying the full 16 bytes and make the tests also verify the addr and use rand addresses. Updates #9511 Signed-off-by: Maisem Ali <maisem@tailscale.com> |
||
---|---|---|
.. | ||
checksum | ||
doc.go | ||
header.go | ||
icmp4.go | ||
icmp6_test.go | ||
icmp6.go | ||
icmp.go | ||
ip4.go | ||
ip6.go | ||
packet_test.go | ||
packet.go | ||
tsmp_test.go | ||
tsmp.go | ||
udp4.go | ||
udp6.go |