Skip to content

Commit

Permalink
wrap << by ()
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jul 9, 2003
1 parent 932c8ac commit 290a625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kame/sys/net/pf.c
Expand Up @@ -4871,7 +4871,7 @@ pf_route(struct mbuf **m, struct pf_rule *r, int dir, struct ifnet *oifp,
ip->ip_sum = 0;
if (sw_csum & CSUM_DELAY_IP) {
if (ip->ip_v == IPVERSION &&
ip->ip_hl << 2 == sizeof(*ip)) {
(ip->ip_hl << 2) == sizeof(*ip)) {
ip->ip_sum = in_cksum_hdr(ip);
} else {
ip->ip_sum = in_cksum(m, ip->ip_hl << 2);
Expand Down

0 comments on commit 290a625

Please sign in to comment.