Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
66d6146
)
nat: fix deleting nat ei out interface feature
72/35972/2
author
Alexander Skorichenko
<
[email protected]
>
Fri, 15 Apr 2022 16:32:18 +0000
(16:32 +0000)
committer
Matthew Smith
<
[email protected]
>
Mon, 18 Apr 2022 19:28:17 +0000
(19:28 +0000)
Type: fix
Set is_add function argument to 0 when deleting interface role.
Change-Id: I6ca88d6511e1c88285e51b3750eb501fde2b341b
Signed-off-by: Alexander Skorichenko <
[email protected]
>
src/plugins/nat/nat44-ei/nat44_ei.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat44-ei/nat44_ei.c
b/src/plugins/nat/nat44-ei/nat44_ei.c
index
7692816
..
30c61b2
100644
(file)
--- a/
src/plugins/nat/nat44-ei/nat44_ei.c
+++ b/
src/plugins/nat/nat44-ei/nat44_ei.c
@@
-1064,8
+1064,8
@@
nat44_ei_del_output_interface (u32 sw_if_index)
}
}
- nat44_ei_add_del_addr_to_fib_foreach_addr (sw_if_index,
1
);
- nat44_ei_add_del_addr_to_fib_foreach_addr_only_sm (sw_if_index,
1
);
+ nat44_ei_add_del_addr_to_fib_foreach_addr (sw_if_index,
0
);
+ nat44_ei_add_del_addr_to_fib_foreach_addr_only_sm (sw_if_index,
0
);
return 0;
}