diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-12-02 18:27:24 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2020-12-03 13:41:07 +0000 |
commit | d417fe2616d7b10cd842187aa160516b35831fc7 (patch) | |
tree | a5bfd9d11c9294f31065f34f14d62c253531aa4f /src/plugins/nat/nat.h | |
parent | 12b1b5611d12075ba491505c0d354629097e840b (diff) |
nat: fix incorrect session removal case
Add a condition where a TCP session in transitory timeout is kept
instead of being erroneously deleted.
Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: Ic625c8c88cc8864293ebd57b0321505652af9380
Diffstat (limited to 'src/plugins/nat/nat.h')
-rw-r--r-- | src/plugins/nat/nat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/nat/nat.h b/src/plugins/nat/nat.h index 710c86fc8d9..a713f7b51cf 100644 --- a/src/plugins/nat/nat.h +++ b/src/plugins/nat/nat.h @@ -199,8 +199,7 @@ typedef enum #define SNAT_SESSION_FLAG_ENDPOINT_DEPENDENT 16 #define SNAT_SESSION_FLAG_FWD_BYPASS 32 #define SNAT_SESSION_FLAG_AFFINITY 64 -#define SNAT_SESSION_FLAG_OUTPUT_FEATURE 128 -#define SNAT_SESSION_FLAG_EXACT_ADDRESS 256 +#define SNAT_SESSION_FLAG_EXACT_ADDRESS 128 /* NAT interface flags */ #define NAT_INTERFACE_FLAG_IS_INSIDE 1 |