projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: ipt annotations
[deliverable/linux.git]
/
net
/
ipv4
/
netfilter
/
ipt_TTL.c
diff --git
a/net/ipv4/netfilter/ipt_TTL.c
b/net/ipv4/netfilter/ipt_TTL.c
index 96e79cc6d0f233dd20cb95b4ffc76336a72d2a7d..ac9517d62af0e1d79a3e81da2142e26578d7e269 100644
(file)
--- a/
net/ipv4/netfilter/ipt_TTL.c
+++ b/
net/ipv4/netfilter/ipt_TTL.c
@@
-54,8
+54,8
@@
ipt_ttl_target(struct sk_buff **pskb,
}
if (new_ttl != iph->ttl) {
- iph->check = nf_csum_update(
ntohs((iph->ttl << 8)) ^ 0xFFFF
,
-
ntoh
s(new_ttl << 8),
+ iph->check = nf_csum_update(
htons((iph->ttl << 8)) ^ htons(0xFFFF)
,
+
hton
s(new_ttl << 8),
iph->check);
iph->ttl = new_ttl;
}
This page took
0.027711 seconds
and
5
git commands to generate.