aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-12-10 07:56:29 -0500
committerDavid S. Miller <davem@davemloft.net>2013-12-10 17:47:18 -0500
commit971a351ccbbd2b6eef136a2221da0b80aca50906 (patch)
treea7a226b18cb40afd878bc36568c873dccd9aa281 /net/ipv6
parent7c6d74d23a33a946bcf08ba2d3e52d31943b7342 (diff)
ipv6 addrconf: revert /proc/net/if_inet6 ifa_flag format
Turned out that applications like ifconfig do not handle the change. So revert ifa_flag format back to 2-letter hex value. Introduced by: commit 479840ffdbe4242e8a25349218c8e0859223aa35 "ipv6 addrconf: extend ifa_flags to u32" Reported-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Jiri Pirko <jiri@resnulli.us> Tested-by: FLorent Fourcot <florent.fourcot@enst-bretagne.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/addrconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index be4dbbd17d3b..3c3425ee6a2b 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -3367,12 +3367,12 @@ static void if6_seq_stop(struct seq_file *seq, void *v)
3367static int if6_seq_show(struct seq_file *seq, void *v) 3367static int if6_seq_show(struct seq_file *seq, void *v)
3368{ 3368{
3369 struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v; 3369 struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v;
3370 seq_printf(seq, "%pi6 %02x %02x %02x %03x %8s\n", 3370 seq_printf(seq, "%pi6 %02x %02x %02x %02x %8s\n",
3371 &ifp->addr, 3371 &ifp->addr,
3372 ifp->idev->dev->ifindex, 3372 ifp->idev->dev->ifindex,
3373 ifp->prefix_len, 3373 ifp->prefix_len,
3374 ifp->scope, 3374 ifp->scope,
3375 ifp->flags, 3375 (u8) ifp->flags,
3376 ifp->idev->dev->name); 3376 ifp->idev->dev->name);
3377 return 0; 3377 return 0;
3378} 3378}