diff options
author | Florian Westphal <fw@strlen.de> | 2022-09-06 17:20:35 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-09-07 16:46:04 +0200 |
commit | c92c27171040554cfda7a3fc925e9dbcb5b4a698 (patch) | |
tree | 59d7fc3e6dbecbee86cb99add3454a1f999f5047 /CREDITS | |
parent | 8556bceb9c409946eebd2303d2f19e87844195ae (diff) |
netfilter: nat: move repetitive nat port reserve loop to a helper
Almost all nat helpers reserve an expecation port the same way:
Try the port inidcated by the peer, then move to next port if that
port is already in use.
We can squash this into a helper.
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions