VPP-1381: Fix the incorrect if condition when delete session for static mapping 91/14591/2
authorshubing guo <guo.shubing@zte.com.cn>
Fri, 10 Aug 2018 05:59:50 +0000 (13:59 +0800)
committerDamjan Marion <dmarion@me.com>
Fri, 31 Aug 2018 16:01:38 +0000 (16:01 +0000)
commit2a12fb231b5a544f29a6ddd139c6a264beeee330
treeb3d2047742f2707d0d27269a644c4c6625af5d54
parentbd8b4f1a8483dc2cc4f6183aa951bfe44a985b6c
VPP-1381: Fix the incorrect if condition when delete session for static mapping
-- The session should not be deleted when either ip address or port doesn't same with static mapping.

Change-Id: I09ab7379947654d2780a8c40c5340ce430541b12
Signed-off-by: shubing guo <guo.shubing@zte.com.cn>
(cherry picked from commit 060c3a7e5a2d23189a8c6348e767cd2018a58dd6)
src/plugins/nat/nat.c