diff options
author | 2001-07-07 01:56:09 +0000 | |
---|---|---|
committer | 2001-07-07 01:56:09 +0000 | |
commit | d0d10e7a64adc3c676d13585aea0537800ed50d9 (patch) | |
tree | 595981af228fab39f562eddfb2352863ae10794c | |
parent | cleanup and knf, some are from Kevin Steves <stevesk@pobox.com> (diff) | |
download | wireguard-openbsd-d0d10e7a64adc3c676d13585aea0537800ed50d9.tar.xz wireguard-openbsd-d0d10e7a64adc3c676d13585aea0537800ed50d9.zip |
get rid of compiler warning
-rw-r--r-- | sys/net/pf.c | 4 |
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 |