patch-2.1.25 linux/net/ax25/ax25_route.c

Next file: linux/net/ax25/ax25_subr.c
Previous file: linux/net/ax25/ax25_out.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.24/linux/net/ax25/ax25_route.c linux/net/ax25/ax25_route.c
@@ -486,7 +486,7 @@
 		return;
 	}
 
-	memcpy(&dest, skb->data    , AX25_ADDR_LEN);
+	memcpy(&dest, skb->data + 0, AX25_ADDR_LEN);
 	memcpy(&src,  skb->data + 7, AX25_ADDR_LEN);
 
 	bp = skb_push(skb, len);
@@ -638,11 +638,11 @@
 
 	return ax25_dev->forward;
 }
-      
+
 #ifdef MODULE
 
 /*
- *    Free all memory associated with routing and device structures.
+ *	Free all memory associated with routing and device structures.
  */
 void ax25_rt_free(void)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov