aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 31f75ea9cb60..a9fa6c1feed5 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1822,6 +1822,7 @@ static int ipv6_generate_eui64(u8 *eui, struct net_device *dev)
1822 return addrconf_ifid_sit(eui, dev); 1822 return addrconf_ifid_sit(eui, dev);
1823 case ARPHRD_IPGRE: 1823 case ARPHRD_IPGRE:
1824 return addrconf_ifid_gre(eui, dev); 1824 return addrconf_ifid_gre(eui, dev);
1825 case ARPHRD_6LOWPAN:
1825 case ARPHRD_IEEE802154: 1826 case ARPHRD_IEEE802154:
1826 return addrconf_ifid_eui64(eui, dev); 1827 return addrconf_ifid_eui64(eui, dev);
1827 case ARPHRD_IEEE1394: 1828 case ARPHRD_IEEE1394:
@@ -2677,7 +2678,8 @@ static void addrconf_dev_config(struct net_device *dev)
2677 (dev->type != ARPHRD_INFINIBAND) && 2678 (dev->type != ARPHRD_INFINIBAND) &&
2678 (dev->type != ARPHRD_IEEE802154) && 2679 (dev->type != ARPHRD_IEEE802154) &&
2679 (dev->type != ARPHRD_IEEE1394) && 2680 (dev->type != ARPHRD_IEEE1394) &&
2680 (dev->type != ARPHRD_TUNNEL6)) { 2681 (dev->type != ARPHRD_TUNNEL6) &&
2682 (dev->type != ARPHRD_6LOWPAN)) {
2681 /* Alas, we support only Ethernet autoconfiguration. */ 2683 /* Alas, we support only Ethernet autoconfiguration. */
2682 return; 2684 return;
2683 } 2685 }