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: adjust for recent c...
details: https://anonhg.NetBSD.org/src/rev/2ebd06a200e3
branches: trunk
changeset: 784846:2ebd06a200e3
user: rmind <rmind%NetBSD.org@localhost>
date: Mon Feb 11 02:52:32 2013 +0000
description:
npftest: adjust for recent change.
diffstat:
usr.sbin/npf/npftest/libnpftest/npf_rule_test.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r d01258c56147 -r 2ebd06a200e3 usr.sbin/npf/npftest/libnpftest/npf_rule_test.c
--- a/usr.sbin/npf/npftest/libnpftest/npf_rule_test.c Mon Feb 11 02:45:27 2013 +0000
+++ b/usr.sbin/npf/npftest/libnpftest/npf_rule_test.c Mon Feb 11 02:52:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_rule_test.c,v 1.4 2013/02/09 03:35:33 rmind Exp $ */
+/* $NetBSD: npf_rule_test.c,v 1.5 2013/02/11 02:52:32 rmind Exp $ */
/*
* NPF ruleset test.
@@ -171,8 +171,8 @@
error = npf_test_first(verbose);
fail |= (error != RESULT_BLOCK);
- rl = npf_ruleset_remove(rlset, "test-rules", (uintptr_t)rl);
- fail |= (rl == NULL);
+ error = npf_ruleset_remove(rlset, "test-rules", (uintptr_t)rl);
+ fail |= error != 0;
npf_config_exit();
Home |
Main Index |
Thread Index |
Old Index