netdev
[Top] [All Lists]

Re: snmp stats as %ld or %lu

To: rddunlap@xxxxxxxx
Subject: Re: snmp stats as %ld or %lu
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 03 Apr 2003 04:48:22 -0800 (PST)
Cc: linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030402122755.5dc3f022.rddunlap@xxxxxxxx>
References: <20030402122755.5dc3f022.rddunlap@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
   From: "Randy.Dunlap" <rddunlap@xxxxxxxx>
   Date: Wed, 2 Apr 2003 12:27:55 +0000

   ipv4/proc.c prints SNMP stats using %lu,
   but ipv6/proc.c prints them using %ld.
   
   Is this difference intentional, planned, or an oversight,
   or something else?

Looks like an oversight to me, both should use the unsigned format.

<Prev in Thread] Current Thread [Next in Thread>