summaryrefslogtreecommitdiffstats
path: root/src/plugins/svs/svs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/svs/svs.c')
-rw-r--r--src/plugins/svs/svs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/svs/svs.c b/src/plugins/svs/svs.c
index fcfddf9523e..2ee15cffac3 100644
--- a/src/plugins/svs/svs.c
+++ b/src/plugins/svs/svs.c
@@ -192,6 +192,9 @@ svs_ip4_table_bind (ip4_main_t * im,
int
svs_disable (fib_protocol_t fproto, u32 table_id, u32 sw_if_index)
{
+ fib_prefix_t pfx = {
+ .fp_proto = fproto,
+ };
u32 fib_index;
fib_index = fib_table_find (fproto, table_id);
@@ -211,6 +214,8 @@ svs_disable (fib_protocol_t fproto, u32 table_id, u32 sw_if_index)
"svs-ip4" :
"svs-ip6"), sw_if_index, 0, NULL, 0);
+ fib_table_entry_special_remove (fib_index, &pfx, FIB_SOURCE_PLUGIN_LOW);
+
return (0);
}