summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/in2out.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-02-18 12:11:51 -0800
committerFlorin Coras <florin.coras@gmail.com>2019-02-18 22:32:00 +0000
commit25cfb775e38b1d245e9c2cee75a77086f8f80913 (patch)
tree59cf0151185e03d51b861d325bcd8533a4256d7a /src/plugins/nat/in2out.c
parentf4647ed885c47a72d94dd63e0903b6c1ae649813 (diff)
NAT: fix: multiple definition of nat64_cleaner_process_event_e
Change-Id: Idcff6108f4f965344afce9ff614018239819dc95 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/nat/in2out.c')
-rwxr-xr-xsrc/plugins/nat/in2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/in2out.c b/src/plugins/nat/in2out.c
index 403d23c3565..7ed375d46e5 100755
--- a/src/plugins/nat/in2out.c
+++ b/src/plugins/nat/in2out.c
@@ -383,6 +383,7 @@ slow_path (snat_main_t * sm, vlib_buffer_t * b0,
return next0;
}
+#ifndef CLIB_MARCH_VARIANT
static_always_inline
snat_in2out_error_t icmp_get_key (ip4_header_t * ip0,
snat_session_key_t * p_key0)
@@ -428,7 +429,6 @@ static_always_inline
return -1; /* success */
}
-#ifndef CLIB_MARCH_VARIANT
/**
* Get address and port values to be used for ICMP packet translation
* and create session if needed