diff --git a/tests/filter_rules.rs b/tests/filter_rules.rs index fc7513b..27a28fb 100644 --- a/tests/filter_rules.rs +++ b/tests/filter_rules.rs @@ -16,6 +16,7 @@ fn before_each() { .unwrap() .try_add_anchor(ANCHOR_NAME, pfctl::AnchorKind::Filter) .unwrap(); + pfcli::flush_rules(ANCHOR_NAME, pfcli::FlushOptions::Rules).unwrap(); } fn after_each() {