nat: fix segv if out of ports in ed mode 84/27084/2 v20.05-rc2
authorAlexander Chernavin <achernavin@netgate.com>
Thu, 14 May 2020 07:35:47 +0000 (03:35 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 20 May 2020 16:35:42 +0000 (16:35 +0000)
commit63f9e7cc0e2c8ca370e320755a13f79d49616e60
treef60316ebce3ab2b6c1d86ee87b4712a588cb0269
parentd3088e94ec7b8745686af0ca838fd1048b0837a8
nat: fix segv if out of ports in ed mode

Type: fix
Ticket: VPP-1870
Change-Id: Ife726d2f6baaa3516c209011183f39670cf6a55d
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
(cherry picked from commit 88120824acc299a0aec17ce4c208dbc8be394779)
src/plugins/nat/in2out_ed.c
src/plugins/nat/test/test_nat.py