patch-2.4.10 linux/net/ipv4/netfilter/ip_nat_helper.c
Next file: linux/net/ipv4/netfilter/ip_queue.c
Previous file: linux/net/ipv4/netfilter/ip_fw_compat_masq.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Aug 28 07:09:44 2001
- Orig file:
v2.4.9/linux/net/ipv4/netfilter/ip_nat_helper.c
- Orig date:
Fri Apr 27 14:15:01 2001
diff -u --recursive --new-file v2.4.9/linux/net/ipv4/netfilter/ip_nat_helper.c linux/net/ipv4/netfilter/ip_nat_helper.c
@@ -267,8 +267,8 @@
/* Replace with NOPs. */
tcph->check
= ip_nat_cheat_check(*((u_int16_t *)(opt + i))^0xFFFF,
- 0, tcph->check);
- opt[i] = opt[i+1] = 0;
+ (TCPOPT_NOP<<8)|TCPOPT_NOP, tcph->check);
+ opt[i] = opt[i+1] = TCPOPT_NOP;
}
else DEBUGP("Something wrong with SACK_PERM.\n");
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)