mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
pbrd: address 230815 coverity: r.action.flags reordering
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
This commit is contained in:
parent
bd6a00e8f7
commit
6182675e7e
@ -568,15 +568,10 @@ static bool pbr_encode_pbr_map_sequence(struct stream *s,
|
|||||||
|
|
||||||
/* actions */
|
/* actions */
|
||||||
|
|
||||||
SET_FLAG(r.action.flags, PBR_ACTION_TABLE); /* always valid */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* PBR should maintain its own set of action flags that we
|
|
||||||
* can copy here instead of trying to infer from magic values.
|
|
||||||
*/
|
|
||||||
|
|
||||||
r.action.flags = pbrms->action_bm;
|
r.action.flags = pbrms->action_bm;
|
||||||
|
|
||||||
|
SET_FLAG(r.action.flags, PBR_ACTION_TABLE); /* always valid */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* if the user does not use the command "set vrf name unchanged"
|
* if the user does not use the command "set vrf name unchanged"
|
||||||
* then pbr_encode_pbr_map_sequence_vrf will not be called
|
* then pbr_encode_pbr_map_sequence_vrf will not be called
|
||||||
|
Loading…
Reference in New Issue
Block a user