summaryrefslogtreecommitdiffstats
path: root/net/ipv4/devinet.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-08 17:49:24 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-08 17:49:24 +0100
commit9446389ef612096704fdf18fa79bab423d4110f0 (patch)
tree3e4fda7270be58ae176d20d318e61fb115b325b5 /net/ipv4/devinet.c
parentMerge branch 'cleanups' into next (diff)
parentx86_64: make ptrace always sign-extend orig_ax to 64 bits (diff)
downloadlinux-9446389ef612096704fdf18fa79bab423d4110f0.tar.xz
linux-9446389ef612096704fdf18fa79bab423d4110f0.zip
Merge commit 'origin' into devel
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r--net/ipv4/devinet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index f282b26f63eb..87490f7bb0f7 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -752,6 +752,7 @@ int devinet_ioctl(unsigned int cmd, void __user *arg)
inet_del_ifa(in_dev, ifap, 0);
ifa->ifa_broadcast = 0;
ifa->ifa_anycast = 0;
+ ifa->ifa_scope = 0;
}
ifa->ifa_address = ifa->ifa_local = sin->sin_addr.s_addr;