summaryrefslogtreecommitdiffstats
path: root/src/plugins/lb/api.c
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2018-08-22 20:21:19 +0800
committerMarco Varlese <marco.varlese@suse.de>2018-09-07 07:33:31 +0000
commit49ca2601114a8a29520cba5f0ab3ea1dc1968f7f (patch)
tree48a3b52839e5ea475e4e794eab3d2efbea6eb4d0 /src/plugins/lb/api.c
parente4b202a4148e534927e7f6662f1de3be9d1a5583 (diff)
Add flush flag on del as command
This patch depends on https://gerrit.fd.io/r/#/c/13260 Change-Id: If94968342935ebd24cf4ebed238e6a27d94959b7 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/plugins/lb/api.c')
-rw-r--r--src/plugins/lb/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lb/api.c b/src/plugins/lb/api.c
index 18aae43b11d..5194c2e88ec 100644
--- a/src/plugins/lb/api.c
+++ b/src/plugins/lb/api.c
@@ -218,7 +218,7 @@ vl_api_lb_add_del_as_t_handler
goto done;
if (mp->is_del)
- rv = lb_vip_del_ass(vip_index, &as_address, 1);
+ rv = lb_vip_del_ass(vip_index, &as_address, 1, mp->is_flush);
else
rv = lb_vip_add_ass(vip_index, &as_address, 1);