mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 04:40:21 +00:00
pbrd: add ZAPI_RULE_FAIL_REMOVE flag in switch
The notification handler consecutive to an add/remove of a rule in zebra is being added the FAIL_REMOVE flag. It is mapped on REMOVE flag behaviour for now. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
6ee203557a
commit
373dd3b5fd
@ -222,6 +222,7 @@ static int rule_notify_owner(int command, struct zclient *zclient,
|
||||
DEBUGD(&pbr_dbg_zebra, "%s: Recived RULE_INSTALLED",
|
||||
__PRETTY_FUNCTION__);
|
||||
break;
|
||||
case ZAPI_RULE_FAIL_REMOVE:
|
||||
case ZAPI_RULE_REMOVED:
|
||||
pbrms->installed &= ~installed;
|
||||
DEBUGD(&pbr_dbg_zebra, "%s: Received RULE REMOVED",
|
||||
|
Loading…
Reference in New Issue
Block a user