patch-1.3.6 linux/net/netrom/nr_out.c
Next file: linux/net/netrom/nr_route.c
Previous file: linux/net/netrom/nr_in.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Thu Jun 29 19:18:53 1995
- Orig file:
v1.3.5/linux/net/netrom/nr_out.c
- Orig date:
Tue Jun 6 12:16:45 1995
diff -u --recursive --new-file v1.3.5/linux/net/netrom/nr_out.c linux/net/netrom/nr_out.c
@@ -1,5 +1,5 @@
/*
- * NET/ROM release 002
+ * NET/ROM release 003
*
* This is ALPHA test software. This code may break your machine, randomly fail to work with new
* releases, misbehave and/or generally screw up. It might even work.
@@ -61,7 +61,7 @@
if (skb == NULL)
return;
- dptr = skb->data + 34;
+ dptr = skb->data + 17;
*dptr++ = sk->nr->vs;
*dptr++ = sk->nr->vr;
@@ -150,7 +150,11 @@
{
unsigned char *dptr;
- dptr = skb->data + 16;
+ /*
+ * Add the protocol byte
+ */
+
+ dptr = skb_push(skb,1);
*dptr++ = AX25_P_NETROM;
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