npftest/npf_blockall_rule: set NPF_RULE_DYNAMIC flag for the test rule.

This commit is contained in:
rmind 2013-02-18 23:09:20 +00:00
parent 6641d1f9ad
commit e9a253f3c1

View File

@ -1,4 +1,4 @@
/* $NetBSD: npf_rule_test.c,v 1.6 2013/02/16 21:11:16 rmind Exp $ */
/* $NetBSD: npf_rule_test.c,v 1.7 2013/02/18 23:09:20 rmind Exp $ */
/*
* NPF ruleset test.
@ -120,7 +120,7 @@ npf_blockall_rule(void)
rldict = prop_dictionary_create();
prop_dictionary_set_uint32(rldict, "attributes",
NPF_RULE_IN | NPF_RULE_OUT);
NPF_RULE_IN | NPF_RULE_OUT | NPF_RULE_DYNAMIC);
return npf_rule_alloc(rldict);
}