diff options
author | green <green@FreeBSD.org> | 1999-07-28 22:27:27 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 1999-07-28 22:27:27 +0000 |
commit | 0d84c8efb0a2e4b063d0c818f89eb17ee4bc6e47 (patch) | |
tree | db9d9e2aa0f8792727f7ad6ab4fff2724c798c43 /sys | |
parent | a8dcdb7b2ff100a54f4e47b0df6af5601e497e92 (diff) | |
download | FreeBSD-src-0d84c8efb0a2e4b063d0c818f89eb17ee4bc6e47.zip FreeBSD-src-0d84c8efb0a2e4b063d0c818f89eb17ee4bc6e47.tar.gz |
8 -> NBBy
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_fw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index 49c7110..a9e8288 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -12,7 +12,7 @@ * * This software is provided ``AS IS'' without any warranties of any kind. * - * $Id: ip_fw.c,v 1.113 1999/06/11 11:27:35 ru Exp $ + * $Id: ip_fw.c,v 1.114 1999/06/19 18:43:28 green Exp $ */ /* @@ -184,8 +184,8 @@ icmptype_match(struct icmp *icmp, struct ip_fw *f) /* check for matching type in the bitmap */ if (type < IP_FW_ICMPTYPES_MAX && - (f->fw_uar.fw_icmptypes[type / (sizeof(unsigned) * 8)] & - (1U << (type % (8 * sizeof(unsigned)))))) + (f->fw_uar.fw_icmptypes[type / (sizeof(unsigned) * NBBY)] & + (1U << (type % (sizeof(unsigned) * NBBY))))) return(1); return(0); /* no match */ |