Exercise address reuse across a wrap and send from an ephemeral port in the proxy test

This commit is contained in:
Viktor Liu
2026-09-23 08:55:09 +02:00
parent 7085ba2d09
commit 2732f511e6
2 changed files with 29 additions and 20 deletions
@@ -79,7 +79,7 @@ func TestProxyDemuxesByDestinationAddress(t *testing.T) {
seen[endpoint.IP.String()] = true
}
wgSock, err := net.ListenUDP("udp", &net.UDPAddr{IP: net.ParseIP("127.0.0.1"), Port: testWGPort})
wgSock, err := net.ListenUDP("udp", &net.UDPAddr{IP: net.ParseIP("127.0.0.1")})
if err != nil {
t.Fatalf("wg socket: %v", err)
}