[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49E710E1.3060209@miraclelinux.com>
Date: Thu, 16 Apr 2009 20:05:05 +0900
From: Yuta sugiura <ysugiura@...aclelinux.com>
To: netdev@...r.kernel.org
Subject: [IPV6]: ROUTE:read ifname in rt6_info_route()
Hi,
I have a suggestion about /proc/net/IPv6_route format.
In rt6_info_route(), interface name is treated as a maximum 8 characters.
But the type of (struct rt6_inf *)->u.dst.dev->name is char[IFNAMESIZ= 16]
so, I think that it should change "%8s" to "%16s".
Thanks,
View attachment "ipv6_route_ifnamesiz.patch" of type "text/plain" (763 bytes)
Powered by blists - more mailing lists