NAT: Fixed issues with dropping reverse packets with output-feature. 38/16838/1
authorDmitry Vakhrushev <dmitry@netgate.com>
Wed, 16 Jan 2019 14:44:03 +0000 (09:44 -0500)
committerDmitry Vakhrushev <dmitry@netgate.com>
Wed, 16 Jan 2019 14:44:03 +0000 (09:44 -0500)
commitf5641398aebec2a73ac387a6327e54b43c26d158
tree3088d0887ce13381cf800660e56afd4d8ce02cb5
parentd91fa61e8ddd031c755f8feb8b8fd7198fc75f5e
NAT: Fixed issues with dropping reverse packets with output-feature.

Fixed NAT issues with dropping reverse packets in case NAT worked
in 'endpoint-dependent' mode and outside interface has FIB different
from 0 when the output-feature is set.

In this case, the out2in_ed dynamic hash key was not being created
correctly.

Change-Id: I6362967f4b09a375a4606eedaa8e264795b25453
Signed-off-by: Dmitry Vakhrushev <dmitry@netgate.com>
src/plugins/nat/nat.c