patch-2.4.27 linux-2.4.27/drivers/net/tun.c
Next file: linux-2.4.27/drivers/net/via-rhine.c
Previous file: linux-2.4.27/drivers/net/tulip/tulip_core.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2004-08-07 16:26:05.158367487 -0700
- Orig file:
linux-2.4.26/drivers/net/tun.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.26/drivers/net/tun.c linux-2.4.27/drivers/net/tun.c
@@ -138,8 +138,8 @@
dev->addr_len = 0;
dev->mtu = 1500;
- /* Type PPP seems most suitable */
- dev->type = ARPHRD_PPP;
+ /* Zero header length */
+ dev->type = ARPHRD_NONE;
dev->flags = IFF_POINTOPOINT | IFF_NOARP | IFF_MULTICAST;
dev->tx_queue_len = 10;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)