summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat
diff options
context:
space:
mode:
authorAlexander Skorichenko <askorichenko@netgate.com>2022-04-15 16:32:18 +0000
committerMatthew Smith <mgsmith@netgate.com>2022-04-18 19:28:17 +0000
commit1afa2b62ceb33d2c167cdcf68431070781545aa6 (patch)
tree8b1a9f5c74f6e01ee1876da096729d64640b7f74 /src/plugins/nat
parent66d6146ad52601ff7e6effd687187b85212e317d (diff)
nat: fix deleting nat ei out interface feature
Type: fix Set is_add function argument to 0 when deleting interface role. Change-Id: I6ca88d6511e1c88285e51b3750eb501fde2b341b Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Diffstat (limited to 'src/plugins/nat')
-rw-r--r--src/plugins/nat/nat44-ei/nat44_ei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/nat44-ei/nat44_ei.c b/src/plugins/nat/nat44-ei/nat44_ei.c
index 7692816a2ee..30c61b21d91 100644
--- 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;
}