diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 11560e3258b5..a09bf658970f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -4209,7 +4209,7 @@ static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cm | |||
4209 | 4209 | ||
4210 | switch (cmd) { | 4210 | switch (cmd) { |
4211 | case SIOCGIFFLAGS: /* Get interface flags */ | 4211 | case SIOCGIFFLAGS: /* Get interface flags */ |
4212 | ifr->ifr_flags = dev_get_flags(dev); | 4212 | ifr->ifr_flags = (short) dev_get_flags(dev); |
4213 | return 0; | 4213 | return 0; |
4214 | 4214 | ||
4215 | case SIOCGIFMETRIC: /* Get the metric on the interface | 4215 | case SIOCGIFMETRIC: /* Get the metric on the interface |