summaryrefslogtreecommitdiff
path: root/pbrd/pbr_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-08-19 16:17:14 -0400
committerGitHub <noreply@github.com>2023-08-19 16:17:14 -0400
commit899427b5150b19b4f950e2ef3b70c7089c45f6ff (patch)
tree4384fc7bbacbe6e1c9575f96f21ea91999d8bbb1 /pbrd/pbr_zebra.c
parentfa8e49c79e0af641959c8a0aaeac8c1fc0d6315c (diff)
parent5cde1e89f06b8a8795f694b5c9ee7b78cd0b50f0 (diff)
Merge pull request #14216 from LabNConsulting/ziemba-coverity-pbr-230816
pbrd: address coverity issues reported 230815
Diffstat (limited to 'pbrd/pbr_zebra.c')
-rw-r--r--pbrd/pbr_zebra.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c
index 35c771469c..ee17a193f4 100644
--- a/pbrd/pbr_zebra.c
+++ b/pbrd/pbr_zebra.c
@@ -568,15 +568,10 @@ static bool pbr_encode_pbr_map_sequence(struct stream *s,
/* 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;
+ SET_FLAG(r.action.flags, PBR_ACTION_TABLE); /* always valid */
+
/*
* if the user does not use the command "set vrf name unchanged"
* then pbr_encode_pbr_map_sequence_vrf will not be called