/proc/net/arp silliness

From: Justin (jguyett@andrew.cmu.edu)
Date: Tue Apr 25 2000 - 01:21:20 EST

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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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