diff options
-rw-r--r-- | pbrd/pbr_zebra.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c index b0a689a7e..f0b0f8891 100644 --- a/pbrd/pbr_zebra.c +++ b/pbrd/pbr_zebra.c @@ -244,6 +244,11 @@ static int rule_notify_owner(ZAPI_CALLBACK_ARGS) __PRETTY_FUNCTION__, pbrms->installed); break; case ZAPI_RULE_FAIL_REMOVE: + /* Don't change state on rule removal failure */ + DEBUGD(&pbr_dbg_zebra, + "%s: Received RULE_FAIL_REMOVED: %" PRIu64, + __PRETTY_FUNCTION__, pbrms->installed); + break; case ZAPI_RULE_REMOVED: pbrms->installed &= ~installed; DEBUGD(&pbr_dbg_zebra, "%s: Received RULE REMOVED: %" PRIu64, |