patch-1.3.11 linux/drivers/net/slip.c

Next file: linux/drivers/scsi/aic7xxx.c
Previous file: linux/drivers/net/pi2.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.10/linux/drivers/net/slip.c linux/drivers/net/slip.c
@@ -36,6 +36,7 @@
  *                                      statistics. Include CSLIP code only
  *                                      if it really needed.
  *		Alan Cox	:	Free slhc buffers in the right place.
+ *		Alan Cox	:	Allow for digipeated IP over AX.25
  *
  *
  *
@@ -1014,7 +1015,7 @@
 #else
 		if ((tmp & SL_MODE_AX25) || (tmp & SL_MODE_AX25VC)) {
 			sl->dev->addr_len=AX25_ADDR_LEN;	  /* sizeof an AX.25 addr */
-			sl->dev->hard_header_len=AX25_HEADER_LEN; /* We don't do digipeaters */
+			sl->dev->hard_header_len=73; /* We don't do digipeaters */
 		} else	{
 			sl->dev->addr_len=0;	/* No mac addr in slip mode */
 			sl->dev->hard_header_len=0;
Binary files v1.3.10/linux/drivers/scsi/aic7770 and linux/drivers/scsi/aic7770 differ

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