mirror of
https://github.com/qdm12/gluetun.git
synced 2026-07-16 23:50:10 +02:00
add integration test
This commit is contained in:
@@ -209,7 +209,7 @@ func (r *udpRouter) clientAddrPortForAssociation(associationID uint64) (
|
||||
|
||||
func (r *udpRouter) runAssociationHandler(ctx context.Context, association udpAssociation) {
|
||||
config := &net.ListenConfig{}
|
||||
socket, err := config.ListenPacket(ctx, "udp", "127.0.0.1:0")
|
||||
socket, err := config.ListenPacket(ctx, "udp", ":0")
|
||||
if err != nil {
|
||||
r.logger.Warnf("creating per-association UDP socket: %s", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user