From 27775f0b903f4ea088514153e27354d5094cbf0c Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Fri, 17 Sep 2021 14:11:59 +0200 Subject: nat: NAT44-ED api fix and improvement This patch fixes issue with NAT_API_IS_TWICE_NAT and NAT_API_IS_ADDR_ONLY flags. Because of control plane code change - move from boolean parameters to flags in https://gerrit.fd.io/r/c/vpp/+/32796 patch these api flags weren't correctly set. Type: fix Change-Id: Ieec5fe6bdcca314da027f2d23e3a24f174391a6f Signed-off-by: Filip Varga --- src/plugins/nat/nat44-ed/nat44_ed.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/plugins/nat/nat44-ed/nat44_ed.h') diff --git a/src/plugins/nat/nat44-ed/nat44_ed.h b/src/plugins/nat/nat44-ed/nat44_ed.h index 4665f7c0966..9fb34aa45f1 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed.h +++ b/src/plugins/nat/nat44-ed/nat44_ed.h @@ -455,11 +455,6 @@ typedef struct u32 vrf_id; ip_protocol_t proto; u32 flags; - int addr_only; - int twice_nat; - int out2in_only; - int identity_nat; - int exact; u8 *tag; } snat_static_map_resolve_t; -- cgit 1.2.3-korg