Skip to content
Commit b635cbf6 authored by Xiaozhou Liu's avatar Xiaozhou Liu Committed by Pablo Neira Ayuso
Browse files

netfilter: nat: remove unnecessary 'else if' branch



Since a pseudo-random starting point is used in finding a port in
the default case, that 'else if' branch above is no longer a necessity.
So remove it to simplify code.

Signed-off-by: default avatarXiaozhou Liu <liuxiaozhou@bytedance.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 00ec3ab0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment