Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NAT: fix: multiple definition of nat64_cleaner_process_event_e
[vpp.git]
/
src
/
plugins
/
nat
/
in2out.c
diff --git
a/src/plugins/nat/in2out.c
b/src/plugins/nat/in2out.c
index
403d23c
..
7ed375d
100755
(executable)
--- 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;
}
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)
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 */
}
return -1; /* success */
}
-#ifndef CLIB_MARCH_VARIANT
/**
* Get address and port values to be used for ICMP packet translation
* and create session if needed
/**
* Get address and port values to be used for ICMP packet translation
* and create session if needed