summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2001-07-07 01:56:10 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2001-07-07 01:56:10 +0000
commit0bb5bb9e171deb5fe91c171576e79139596f3958 (patch)
treea6fedb21d86d0d34f59691da9cbb6262cbe02c7f /sys/net
parenta1da01e7c86e35444694aa870e4de27d2c3b4df2 (diff)
get rid of compiler warning
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 5c186552d0d..9313f50dd85 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.105 2001/07/06 23:01:30 dhartmei Exp $ */
+/* $OpenBSD: pf.c,v 1.106 2001/07/07 01:56:09 marc Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -1353,7 +1353,7 @@ pf_send_icmp(struct mbuf *m, u_int8_t type, u_int8_t code)
int
pf_match_addr(u_int8_t n, u_int32_t a, u_int32_t m, u_int32_t b)
{
- if (a & m == b & m) {
+ if ((a & m) == (b & m)) {
if (n)
return (0);
else