mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-11 14:52:56 +02:00
moare fixes
This commit is contained in:
@@ -42,8 +42,8 @@ func (f *Firewall) RedirectPort(_ context.Context, intf string,
|
||||
Priority: nftables.ChainPriorityNATDest,
|
||||
})
|
||||
|
||||
sourcePortBytes := []byte{byte(sourcePort >> 8), byte(sourcePort)} //nolint:mnd
|
||||
destinationPortBytes := []byte{byte(destinationPort >> 8), byte(destinationPort)} //nolint:mnd
|
||||
sourcePortBytes := []byte{byte(sourcePort >> 8), byte(sourcePort)} //nolint:mnd,gosec
|
||||
destinationPortBytes := []byte{byte(destinationPort >> 8), byte(destinationPort)} //nolint:mnd,gosec
|
||||
const tcp, udp uint8 = 6, 17 //nolint:mnd
|
||||
protocols := []uint8{tcp, udp}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user