Re: /proc/net/arp silliness

From: David Ford (
Date: Tue Apr 25 2000 - 01:45:26 EST

well now that just isn't good. patch forthcoming in minutes.


Justin wrote:

> The code in net/ipv4/arp.c has recently been changed around so that
> there's no longer any space between the ip address and the hardware type
> in /proc/net/arp. This means the arp command is pretty much useless, as
> it relies on the space to parse this file.
> This can be quickly fixed by changing the file back to it's original
> (pre4) state. The New Way of printing out the ip address prints out the
> octets seperately. While this may be desireable for coding reasons, I
> can't think of a way to left-center the entire ip without sprintf()'ing
> it as one string, left aligned with a 17 character width. In any
> case, some kind of fix would be appreciated.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:09 EST