Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net/npf npf_alg_session: fix inverted logic in the previ...
details: https://anonhg.NetBSD.org/src/rev/8dabee0ecc3a
branches: trunk
changeset: 326764:8dabee0ecc3a
user: rmind <rmind%NetBSD.org@localhost>
date: Mon Feb 17 02:38:46 2014 +0000
description:
npf_alg_session: fix inverted logic in the previous commit.
diffstat:
sys/net/npf/npf_alg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 14114f83d17a -r 8dabee0ecc3a sys/net/npf/npf_alg.c
--- a/sys/net/npf/npf_alg.c Mon Feb 17 00:45:24 2014 +0000
+++ b/sys/net/npf/npf_alg.c Mon Feb 17 02:38:46 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_alg.c,v 1.11 2014/02/16 22:10:40 rmind Exp $ */
+/* $NetBSD: npf_alg.c,v 1.12 2014/02/17 02:38:46 rmind Exp $ */
/*-
* Copyright (c) 2010-2013 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_alg.c,v 1.11 2014/02/16 22:10:40 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_alg.c,v 1.12 2014/02/17 02:38:46 rmind Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -236,7 +236,7 @@
for (u_int i = 0; i < alg_count; i++) {
const npfa_funcs_t *f = &alg_funcs[i];
- if (f->inspect)
+ if (!f->inspect)
continue;
if ((se = f->inspect(npc, nbuf, di)) != NULL)
break;
Home |
Main Index |
Thread Index |
Old Index