Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34708
b: refs/heads/master
c: ca39df6
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Sep 22, 2006
1 parent ac70b23 commit 531d1a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5251e2d2125407bbff0c39394a4011be9ed8b5d0
refs/heads/master: ca39df6cdfbe2ea210e31117f5d469576cfe9008
4 changes: 2 additions & 2 deletions trunk/net/ipv4/netfilter/ipt_TTL.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ ipt_ttl_target(struct sk_buff **pskb,
}

if (new_ttl != iph->ttl) {
iph->check = nf_csum_update((iph->ttl << 8) ^ 0xFFFF,
new_ttl << 8,
iph->check = nf_csum_update(ntohs((iph->ttl << 8)) ^ 0xFFFF,
ntohs(new_ttl << 8),
iph->check);
iph->ttl = new_ttl;
}
Expand Down

0 comments on commit 531d1a5

Please sign in to comment.