From 3036baf00ee7f7ba4c8dcccd12b131a832ccdf61 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 11 Nov 2012 13:01:19 +0100 Subject: [PATCH] rtnetlink.7: Update description of IFLA_STATS to Linux 2.6+ reality See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526778 Reported-by: Julien Cristau Signed-off-by: Michael Kerrisk --- man7/rtnetlink.7 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/man7/rtnetlink.7 b/man7/rtnetlink.7 index cb714160d..ebd91076b 100644 --- a/man7/rtnetlink.7 +++ b/man7/rtnetlink.7 @@ -8,7 +8,7 @@ .\" Based on the original comments from Alexey Kuznetsov, written with .\" help from Matthew Wilcox. .\" $Id: rtnetlink.7,v 1.8 2000/01/22 01:55:04 freitag Exp $ -.TH RTNETLINK 7 2012-05-10 "Linux" "Linux Programmer's Manual" +.TH RTNETLINK 7 2012-11-11 "Linux" "Linux Programmer's Manual" .SH NAME rtnetlink \- Linux IPv4 routing socket .SH SYNOPSIS @@ -104,7 +104,10 @@ T}:Interface Statistics. .sp The value type for .B IFLA_STATS -is \fIstruct net_device_stats\fP. +is +.IR "struct rtnl_link_stats" +.RI ( "struct net_device_stats" +in Linux 2.4 and earlier). .TP .BR RTM_NEWADDR ", " RTM_DELADDR ", " RTM_GETADDR Add, remove or receive information about an IP address associated with