summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_pbr.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-09 15:41:08 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 00:43:47 +0200
commit0f03639dedf5ef4242fb91b9b86903a3d179a17a (patch)
tree13cffb5c49cd9a196342b36ca61d82ba5fe4fce0 /zebra/zebra_pbr.c
parentpbrd, zebra: Fix multiple pbr-policy install (diff)
downloadfrr-0f03639dedf5ef4242fb91b9b86903a3d179a17a.tar.xz
frr-0f03639dedf5ef4242fb91b9b86903a3d179a17a.zip
pbrd, zebra: Properly notice rule deletion
When a rule is deleted properly notice it in pbr. Ticket: CM-20394 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--zebra/zebra_pbr.c2
1 files changed, 2 insertions, 0 deletions
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;
}
}