patch-2.3.40 linux/net/ipv6/addrconf.c
Next file: linux/net/ipv6/ndisc.c
Previous file: linux/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri Jan 14 11:25:21 2000
- Orig file:
v2.3.39/linux/net/ipv6/addrconf.c
- Orig date:
Wed Dec 29 13:13:21 1999
diff -u --recursive --new-file v2.3.39/linux/net/ipv6/addrconf.c linux/net/ipv6/addrconf.c
@@ -670,6 +670,7 @@
{
switch (dev->type) {
case ARPHRD_ETHER:
+ case ARPHRD_IEEE802_TR:
if (dev->addr_len != ETH_ALEN)
return -1;
memcpy(eui, dev->dev_addr, 3);
@@ -1191,7 +1192,8 @@
ASSERT_RTNL();
- if (dev->type != ARPHRD_ETHER) {
+ if ((dev->type != ARPHRD_ETHER) &&
+ (dev->type != ARPHRD_IEEE802_TR)) {
/* Alas, we support only Ethernet autoconfiguration. */
return;
}
@@ -1990,7 +1992,8 @@
case ARPHRD_LOOPBACK:
init_loopback(dev);
break;
- case ARPHRD_ETHER:
+ case ARPHRD_ETHER:
+ case ARPHRD_IEEE802_TR:
addrconf_dev_config(dev);
break;
default:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)