map: honor pre-resolve param in map-t 61/24961/3
authorAlexander Chernavin <achernavin@netgate.com>
Tue, 11 Feb 2020 14:57:09 +0000 (09:57 -0500)
committerOle Trøan <otroan@employees.org>
Thu, 20 Feb 2020 09:04:26 +0000 (09:04 +0000)
commitf145c15631ba62e798395499f83a2f8a91ae83c7
treead1f80a1f23ced8de9100f17730cc28918d050cf
parentb728a3c8b74127e9a7decd8ecb7dc6cbefb0ab84
map: honor pre-resolve param in map-t

With this commit, forward the translated packet directly to the
specified next-hop if pre-resolve param is enabled in MAP-T.

Type: fix

Change-Id: Ie26080c7820318c7982599577a4af6e4d01a0574
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
src/plugins/map/ip4_map.c
src/plugins/map/ip4_map_t.c
src/plugins/map/ip6_map.c
src/plugins/map/ip6_map_t.c
src/plugins/map/map.h
src/plugins/map/test/test_map.py