mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Added missing parens from previous commit.
This commit is contained in:
parent
4afea9ab84
commit
52d581cd33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32260
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user