NAT: fix bin API dump of static mappings. 30/12330/2
authorMilan Lenco <milan.lenco@pantheon.tech>
Wed, 2 May 2018 12:22:22 +0000 (14:22 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 3 May 2018 21:22:03 +0000 (21:22 +0000)
commitdbc38ee7e53ca9bf7e6912a950a802c2db87f47d
tree4b91b8d4af607fca2b9996b7794b63a75ed5ede0
parentbd4d645791a4d58dbdb0b5dc1b1527b11599c332
NAT: fix bin API dump of static mappings.

Static mappings with equal local and external IPs
but different ports were dumped as identity mappings.

Change-Id: Ifea7cef5b78aea4c2eb31cf1620185eeef2681e5
Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
src/plugins/nat/nat_api.c