summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2002-12-12 20:24:21 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2002-12-12 20:24:21 +0000
commita355f38a35f387e6697fa1db7adf3113a8ded89f (patch)
tree6f234fd4e9cf8a08556fe6de9f69eb884df442b1 /sys/net
parent04b6a50f94b81b1f3465d4b15d097a4efc4684fc (diff)
Pastos in pf_compare_pool(); dhartmei@, mcbride@ ok.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pf_ioctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index e1511993cda..719631854b8 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.23 2002/12/06 00:47:32 dhartmei Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.24 2002/12/12 20:24:20 aaron Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -321,9 +321,9 @@ pf_compare_pool(struct pf_pool *a, struct pf_pool *b, sa_family_t af)
struct pf_pooladdr *pa_a, *pa_b;
if (a->key.key32[0] != b->key.key32[0] ||
- a->key.key32[0] != b->key.key32[0] ||
- a->key.key32[0] != b->key.key32[0] ||
- a->key.key32[0] != b->key.key32[0] ||
+ a->key.key32[1] != b->key.key32[1] ||
+ a->key.key32[2] != b->key.key32[2] ||
+ a->key.key32[3] != b->key.key32[3] ||
a->opts != b->opts)
return(1);
pa_a = TAILQ_FIRST(&a->list);