Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: move to new pool_foreach macros
[vpp.git]
/
src
/
plugins
/
nat
/
nat66
/
nat66_in2out.c
diff --git
a/src/plugins/nat/nat66/nat66_in2out.c
b/src/plugins/nat/nat66/nat66_in2out.c
index
4c4d3ab
..
356100f
100644
(file)
--- a/
src/plugins/nat/nat66/nat66_in2out.c
+++ b/
src/plugins/nat/nat66/nat66_in2out.c
@@
-95,12
+95,12
@@
nat66_not_translate (u32 rx_fib_index, ip6_address_t ip6_addr)
}
/* *INDENT-OFF* */
}
/* *INDENT-OFF* */
- pool_foreach (i, nm->interfaces
,
-
(
{
+ pool_foreach (i, nm->interfaces
)
+
{
/* NAT packet aimed at outside interface */
if (nat66_interface_is_outside (i) && sw_if_index == i->sw_if_index)
return 0;
/* NAT packet aimed at outside interface */
if (nat66_interface_is_outside (i) && sw_if_index == i->sw_if_index)
return 0;
- }
));
+ }
/* *INDENT-ON* */
return 1;
/* *INDENT-ON* */
return 1;