patch-2.1.100 linux/net/ethernet/pe2.c
Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat May 2 14:22:29 1998
- Orig file:
v2.1.99/linux/net/ethernet/pe2.c
- Orig date:
Sun Mar 24 22:58:24 1996
diff -u --recursive --new-file v2.1.99/linux/net/ethernet/pe2.c linux/net/ethernet/pe2.c
@@ -11,7 +11,8 @@
struct device *dev = skb->dev;
skb->protocol = htons (ETH_P_IPX);
- dev->hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len);
+ if(dev->hard_header)
+ dev->hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len);
}
struct datalink_proto *
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov