patch-2.1.22 linux/net/core/net_alias.c
Next file: linux/net/core/scm.c
Previous file: linux/net/core/iovec.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sun Jan 19 15:47:27 1997
- Orig file:
v2.1.21/linux/net/core/net_alias.c
- Orig date:
Thu Jan 2 15:55:26 1997
diff -u --recursive --new-file v2.1.21/linux/net/core/net_alias.c linux/net/core/net_alias.c
@@ -275,6 +275,7 @@
dev->init = net_alias_devinit;
dev->hard_start_xmit = net_alias_hard_start_xmit;
dev->flags = main_dev->flags & NET_ALIAS_IFF_MASK & ~IFF_UP;
+ dev->ifindex = dev_new_index();
/*
* Only makes sense if same family (arguable)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov