mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Added missing parens from previous commit.
This commit is contained in:
parent
4afea9ab84
commit
52d581cd33
1 changed files with 3 additions and 3 deletions
|
|
@ -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 a new issue