Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/npf/npftest/libnpftest npftest/npf_blockall_rule: s...
details: https://anonhg.NetBSD.org/src/rev/7e1ee0692c4f
branches: trunk
changeset: 785022:7e1ee0692c4f
user: rmind <rmind%NetBSD.org@localhost>
date: Mon Feb 18 23:09:20 2013 +0000
description:
npftest/npf_blockall_rule: set NPF_RULE_DYNAMIC flag for the test rule.
diffstat:
usr.sbin/npf/npftest/libnpftest/npf_rule_test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 126a8f6ca597 -r 7e1ee0692c4f usr.sbin/npf/npftest/libnpftest/npf_rule_test.c
--- a/usr.sbin/npf/npftest/libnpftest/npf_rule_test.c Mon Feb 18 21:20:50 2013 +0000
+++ b/usr.sbin/npf/npftest/libnpftest/npf_rule_test.c Mon Feb 18 23:09:20 2013 +0000
@@ -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 @@
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);
}
Home |
Main Index |
Thread Index |
Old Index