cnat: maglev fixes 51/31551/2
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Fri, 5 Mar 2021 16:16:40 +0000 (17:16 +0100)
committerDamjan Marion <dmarion@me.com>
Mon, 15 Mar 2021 17:36:23 +0000 (17:36 +0000)
commit418abe2a259bc8c04c3b8839099204d56ae504ba
treeef5cb4dacc94843b38fe7286e01afa263d5dff4e
parent592dbd0ad3b464d14aba7ccec918d5ed7f9429fc
cnat: maglev fixes

This fixes cnat_feature node LB
- use siblings instead of direct next_nodes
- only do the lookup if we have NO_NAT
- fix behavior in v6

Type: fix

Change-Id: Ie80c9912946bf55c30eadeb51340f4aec9bb297e
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/plugins/cnat/cnat_node_feature.c
src/plugins/cnat/cnat_translation.h
src/plugins/cnat/cnat_types.c
src/plugins/cnat/cnat_types.h