moby/libnetwork/portmapper
Sebastiaan van Stijn 214ab2caef
libnetwork/portmapper: PortMapper.MapRange: inline "cleanup" closure
The cleanup function never returns an error, so didn't add much value. This
patch removes the closure, and calls it inline to remove the extra
indirection, and removes the error which would never be returned.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-12-29 14:30:42 +01:00
..
mapper.go libnetwork/portmapper: PortMapper.MapRange: inline "cleanup" closure 2023-12-29 14:30:42 +01:00
mapper_linux.go libnetwork/portmapper: un-export PortMapper.Allocator 2023-09-13 18:38:53 +02:00
mapper_linux_test.go libnetwork/portmapper: un-export PortMapper.Allocator 2023-09-13 18:38:53 +02:00
mapper_windows.go libnetwork/portmapper: remove unused PortMapper.checkIP 2023-09-13 18:54:11 +02:00
mock_proxy_test.go libnetwork: format code with gofumpt 2023-06-29 00:31:49 +02:00
proxy.go portmapper: don't compile linux-only code on Windows 2021-06-17 10:27:29 +02:00
proxy_linux.go Lock OS threads when exec'ing with Pdeathsig 2022-10-05 12:18:03 -04:00
proxy_windows.go Pick a random host port if the user does not specify a host port. 2019-04-22 17:43:27 +00:00