diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-03-25 15:39:15 +0100 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-05-26 07:38:01 +0000 |
commit | 2de7e96e6f1d657c124f55a75c8d63d6f05803a7 (patch) | |
tree | 45e0326d1213801396e579e88bcb7ae35fee9ace /src/plugins/nat/nat44-ed/nat44_ed.h | |
parent | 5fe9457fa2ac49ca7134b09c6886192c7001335c (diff) |
nat: add thread index assertions
Add extra assertions to debug build.
Type: improvement
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: Ib20130365e8f9dbb556fcbb4321dd184c7eff603
Diffstat (limited to 'src/plugins/nat/nat44-ed/nat44_ed.h')
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed.h b/src/plugins/nat/nat44-ed/nat44_ed.h index 1668d0295d5..91b3645254e 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed.h +++ b/src/plugins/nat/nat44-ed/nat44_ed.h @@ -344,6 +344,7 @@ typedef CLIB_PACKED(struct /* per vrf sessions index */ u32 per_vrf_sessions_index; + u32 thread_index; }) snat_session_t; typedef struct |