ipv6 route: Dump gateway based on RTF_GATEWAY flag and rt->rt6i_gateway.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Thu, 17 Jan 2013 12:53:15 +0000 (12:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2013 23:38:18 +0000 (18:38 -0500)
commitdd0cbf29b12bf876abf2880bcc0db8983537b87a
treeb33ce05060fab3c2064882995fba9d0e0fe67c73
parent8e022ee63f344e0dd12e60f5cdbacabcd312c4c7
ipv6 route: Dump gateway based on RTF_GATEWAY flag and rt->rt6i_gateway.

Do not depend on rt->n.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c