Skip to content

rem: Remove logic to select outbound port

Alessio Podda requested to merge 4932-bind-port-zero-for-source-ports into main

This merge request removes the logic that queries the system for a range of allowed ephemeral ports, and chooses one at random. This logic is unnecessary, as we removed the *-source options in !9469 (merged).

It also removes a bitset implementation that was used to keep track of which ports were allowed.

Closes #4932

Merge request reports