nat: in2out/out2in handoff node index bugfix 61/25861/2
authorElias Rudberg <elias.rudberg@bahnhof.net>
Fri, 13 Mar 2020 13:26:50 +0000 (14:26 +0100)
committerOle Trøan <otroan@employees.org>
Tue, 17 Mar 2020 10:03:46 +0000 (10:03 +0000)
commit042e8b0d3d6df16ba64d6ce56c64450e8f81740e
tree359547a056b5b1ac95d267e05bf82a27dbe92e95
parentef678a4bd175e53015d5d60f6fe36739925c5c85
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
(cherry picked from commit dd9aedaf377f4af8620408843bd3e4610d3df5f9)
src/plugins/nat/nat.c