From 9341e34b500ce7c68fc6857a24ee7b67cac121b1 Mon Sep 17 00:00:00 2001 From: Juraj Sloboda Date: Fri, 13 Apr 2018 12:00:46 +0200 Subject: NAT66: Do not translate if packet not aimed at outside interface Change-Id: Id5a2a90d81cc9cb87cb6fb89ac2f4ca3cbcb51e2 Signed-off-by: Juraj Sloboda --- src/plugins/nat/nat66.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/nat/nat66.h') diff --git a/src/plugins/nat/nat66.h b/src/plugins/nat/nat66.h index ac5557fc491..52befd5c166 100644 --- a/src/plugins/nat/nat66.h +++ b/src/plugins/nat/nat66.h @@ -55,6 +55,9 @@ typedef struct clib_bihash_24_8_t sm_e; /** Session counters */ vlib_combined_counter_main_t session_counters; + + u32 outside_vrf_id; + u32 outside_fib_index; } nat66_main_t; extern nat66_main_t nat66_main; -- cgit 1.2.3-korg