lkml.org 
[lkml]   [1997]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectifconfig patches for 2.1.25+
Date
Not actually patches, but big hints to the clueful :-).  This is a
quick kludge that will get you rolling, not a proper fix.

(1) Get net-tools-1.32-alpha.
(2) Modify ifconfig.c as follows:

(a) define __KERNEL__ prior to including <linux/netdevice.h>,
then undef __KERNEL__

(b) Modify the call to sscanf() in if_getstats() to handle
the additional members of the stats structure (of type
net_device_stats as defined in <linux/netdevice.h>).

--
Bob Tracy | "Friends help you move. Real friends help
AFIWC/AFCERT | you move bodies."
rct@merkin.csap.af.mil | -- Anonymous

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.125 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site