nat: fix busy ports of each thread 55/14755/2
authordongjuan <[email protected]>
Tue, 4 Sep 2018 09:40:53 +0000 (17:40 +0800)
committerDamjan Marion <[email protected]>
Wed, 12 Sep 2018 10:10:09 +0000 (10:10 +0000)
commitf0030614c361fdd9e967094e6dfb12dcbe90a810
tree47205a0529ed2dcdaffafb13cc49d6bec671b752
parenta742315b787db0b7d30b6048bb2a583fa2265f15
nat: fix busy ports of each thread

which can create dead loop in
nat_alloc_addr_and_port_default function

Change-Id: I468c25ce0f0a0b3f881de564623dea208b2ca700
Signed-off-by: dongjuan <[email protected]>
(cherry picked from commit 58f50f1bb64e962e5628e2c1867e07f238036c7b)
src/plugins/nat/nat.c