nat: in2out/out2in handoff node index bugfix 56/25856/2
authorElias Rudberg <elias.rudberg@bahnhof.net>
Fri, 13 Mar 2020 13:26:50 +0000 (14:26 +0100)
committerDave Barach <openvpp@barachs.net>
Fri, 13 Mar 2020 14:24:43 +0000 (14:24 +0000)
commitdd9aedaf377f4af8620408843bd3e4610d3df5f9
tree71ad067e361d172a63e9897971caf19ae1e0a700
parent178ecc0a9a6a4bb8b121d81b25159c67b0fb7061
nat: in2out/out2in handoff node index bugfix

This fixes a bug in the initialization of handoff_out2in_index and
handoff_in2out_index where the node index for out2in was set to the
in2out node, and vice versa.

Type: fix

Signed-off-by: Elias Rudberg <elias.rudberg@bahnhof.net>
Change-Id: I983ddd3b3cec06f4cb3fb95b2a9cda4ab6d1270f
src/plugins/nat/nat.c