From 0f03639dedf5ef4242fb91b9b86903a3d179a17a Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 9 Apr 2018 09:41:08 -0400 Subject: pbrd, zebra: Properly notice rule deletion When a rule is deleted properly notice it in pbr. Ticket: CM-20394 Signed-off-by: Donald Sharp --- zebra/zebra_pbr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zebra/zebra_pbr.c') diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c index 327b6a669..758365d71 100644 --- a/zebra/zebra_pbr.c +++ b/zebra/zebra_pbr.c @@ -496,8 +496,10 @@ void kernel_pbr_rule_add_del_status(struct zebra_pbr_rule *rule, zsend_rule_notify_owner(rule, ZAPI_RULE_FAIL_INSTALL); break; case SOUTHBOUND_DELETE_SUCCESS: + zsend_rule_notify_owner(rule, ZAPI_RULE_REMOVED); break; case SOUTHBOUND_DELETE_FAILURE: + zsend_rule_notify_owner(rule, ZAPI_RULE_REMOVED); break; } } -- cgit v1.2.3