Skip to content

ruleset: avoid emitting default "policy accept"#97

Open
brada4 wants to merge 1 commit into
openwrt:masterfrom
brada4:shortpolicy
Open

ruleset: avoid emitting default "policy accept"#97
brada4 wants to merge 1 commit into
openwrt:masterfrom
brada4:shortpolicy

Conversation

@brada4
Copy link
Copy Markdown

@brada4 brada4 commented May 25, 2026

  • Do not emit default ";policy accept;" flag since it is the default
  • Inline 3 nearly identical "default policy" indirections replacing with checking parameters they abstracted
  • no change in resulting in-kernel ruleset
  • test 01/01 already covers all altered code paths

Do not emit default "policy accept" flag since it is the default
Inline 3 nearly identical "default policy" indirections replacing with
checking parameters.

Signed-off-by: Andris PE <neandris@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant