diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-13 23:47:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 23:47:11 -0700 |
commit | 9625ed72e8bd619c3984f3024bd37143b7f0c7b0 (patch) | |
tree | c3952ee1350f84cce42ab7e235c1ce33a587acd6 /net/ipv6 | |
parent | b077d7ababdb5433aef18c62bf1f785e8729f49a (diff) | |
download | op-kernel-dev-9625ed72e8bd619c3984f3024bd37143b7f0c7b0.zip op-kernel-dev-9625ed72e8bd619c3984f3024bd37143b7f0c7b0.tar.gz |
[IPV6] ADDRCONF: Don't generate temporary address for ip6-ip6 interface.
As far as I can remember, I was going to disable privacy extensions
on all "tunnel" interfaces. Disable it on ip6-ip6 interface as well.
Also, just remove ifdefs for SIT for simplicity.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index b9eeb4f..e08955b 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -384,9 +384,8 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev) setup_timer(&ndev->regen_timer, ipv6_regen_rndid, (unsigned long)ndev); if ((dev->flags&IFF_LOOPBACK) || dev->type == ARPHRD_TUNNEL || -#if defined(CONFIG_IPV6_SIT) || defined(CONFIG_IPV6_SIT_MODULE) + dev->type == ARPHRD_TUNNEL6 || dev->type == ARPHRD_SIT || -#endif dev->type == ARPHRD_NONE) { printk(KERN_INFO "%s: Disabled Privacy Extensions\n", |