aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cnat/cnat_session.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-12-04 10:23:34 +0100
committerBeno�t Ganne <bganne@cisco.com>2021-01-28 13:35:49 +0000
commit0c1792e983425216588e93cd98286ea61b5cbd02 (patch)
tree65f97a931059febfd179e663c93eb5c56313e929 /src/plugins/cnat/cnat_session.h
parent208891c093468b753830d1e7ebdb4a69d4c192bf (diff)
cnat: Fix session with deleted tr
Type: fix When a translation gets deleted, hiting a session pointing to it sefaults. We're better off directly storing the next node index. Change-Id: I4f0716d775202b4ecf54d6cdb827bbeebd23056c Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/cnat/cnat_session.h')
-rw-r--r--src/plugins/cnat/cnat_session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cnat/cnat_session.h b/src/plugins/cnat/cnat_session.h
index e352fe6e374..fba28e5a241 100644
--- a/src/plugins/cnat/cnat_session.h
+++ b/src/plugins/cnat/cnat_session.h
@@ -102,7 +102,7 @@ typedef struct cnat_session_t_
* Persist translation->ct_lb.dpoi_next_node
* when cs_lbi != INDEX_INVALID
*/
- u32 ct_index;
+ u32 dpoi_next_node;
};
} value;
} cnat_session_t;