patch-1.3.57 linux/net/ipv4/ip_sockglue.c
Next file: linux/net/ipv4/route.c
Previous file: linux/net/ipv4/ip_input.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jan 9 11:29:27 1996
- Orig file:
v1.3.56/linux/net/ipv4/ip_sockglue.c
- Orig date:
Fri Nov 17 08:42:34 1995
diff -u --recursive --new-file v1.3.56/linux/net/ipv4/ip_sockglue.c linux/net/ipv4/ip_sockglue.c
@@ -462,7 +462,7 @@
if (opt->srr)
{
unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr);
- memmove(optptr+7, optptr+4, optptr[1]-7);
+ memmove(optptr+7, optptr+3, optptr[1]-7);
memcpy(optptr+3, &opt->faddr, 4);
}
if (opt->rr_needaddr)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this