lkml.org 
[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[patch] net/ipv4/net.c
After reviewing the arp.c file, I made a couple of changes.  I fixed the
ip.ip.ip.ip0xNN breakage and also changed the printing routine. Since
the ARP mask is not implemented in the /proc file, I changed the length
formatting of it and the following dev->name entry.

e.g.:
- " %-17s %s\n",
+ " %s %-16s\n",

devname is 16 bytes long, 17 isn't necessary as there is already a
space. That is the last item. The first is always "*" in /proc/net/arp
and doesn't need formatting. The mask entry is currently "*" and this
format string will need changing once the u32 mask value is implemented.

On a side note, does it/will it be implemented in the future?

-d

--
"The difference between 'involvement' and 'commitment' is like an
eggs-and-ham breakfast: the chicken was 'involved' - the pig was
'committed'."


begin:vcard
n:Ford;David
x-mozilla-html:TRUE
org:<img src="http://www.kalifornia.com/images/paradise.jpg">
adr:;;;;;;
version:2.1
email;internet:david@kalifornia.com
title:Blue Labs Developer
x-mozilla-cpt:;-12480
fn:David Ford
end:vcard
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.201 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site