Added missing parens from previous commit.

This commit is contained in:
alex 1998-01-05 00:14:05 +00:00
parent 147e6a553f
commit 509616d101

View File

@ -12,7 +12,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
* $Id: ip_fw.c,v 1.68 1998/01/04 22:36:12 alex Exp $
* $Id: ip_fw.c,v 1.69 1998/01/05 00:08:57 alex Exp $
*/
/*
@ -155,8 +155,8 @@ icmptype_match(struct icmp *icmp, struct ip_fw *f)
/* check for matching type in the bitmap */
if (type < IP_FW_ICMPTYPES_DIM * sizeof(unsigned) * 8 &&
f->fw_icmptypes[type / (sizeof(unsigned) * 8)] &
(1U << (type % (8 * sizeof(unsigned)))))
(f->fw_icmptypes[type / (sizeof(unsigned) * 8)] &
(1U << (type % (8 * sizeof(unsigned))))))
return(1);
return(0); /* no match */