patch-2.4.20 linux-2.4.20/net/ipv4/ip_options.c
Next file: linux-2.4.20/net/ipv4/ip_output.c
Previous file: linux-2.4.20/net/ipv4/ip_gre.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/net/ipv4/ip_options.c
- Orig date:
Fri Sep 7 11:01:21 2001
diff -urN linux-2.4.19/net/ipv4/ip_options.c linux-2.4.20/net/ipv4/ip_options.c
@@ -266,7 +266,7 @@
for (l = opt->optlen; l > 0; ) {
switch (*optptr) {
case IPOPT_END:
- for (optptr++, l--; l>0; l--) {
+ for (optptr++, l--; l>0; optptr++, l--) {
if (*optptr != IPOPT_END) {
*optptr = IPOPT_END;
opt->is_changed = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)