summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/buffer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index 37db4130514..00e9aa698c6 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -480,8 +480,11 @@ typedef struct
struct
{
u32 arc_next;
- /* cached session index from previous node */
- u32 cached_session_index;
+ union
+ {
+ u32 cached_session_index;
+ u32 cached_dst_nat_session_index;
+ };
} nat;
union