nat: fix segv if out of ports in ed mode 56/27056/2
authorAlexander Chernavin <achernavin@netgate.com>
Thu, 14 May 2020 07:35:47 +0000 (03:35 -0400)
committerOle Trøan <otroan@employees.org>
Thu, 14 May 2020 12:08:43 +0000 (12:08 +0000)
commit88120824acc299a0aec17ce4c208dbc8be394779
treed4575d5ed919152b7ad638043206b110ee097c58
parentdbd366b239c0506b0d9984e7481967e038f10a23
nat: fix segv if out of ports in ed mode

Type: fix

Change-Id: Ife726d2f6baaa3516c209011183f39670cf6a55d
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
src/plugins/nat/in2out_ed.c
src/plugins/nat/test/test_nat.py