lkml.org 
[lkml]   [1998]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] /proc/fs/nfsd/exports
> > Those values are NOT integers originally, they are octet arrays.
>
> What?
>
> The values are IPv4 addresses. There is _one_ standard way of printing
> them, and that standard way is as four decimal numbers. EVERYBODY prints
> them that way. It's the only sane way to show them.
>
> There is no question in my mind - printing out IPv4 addresses as hex
> "integers" is wrong. It has always been wrong, and it's wrong now. It
> happens to be very simple, which is the excuse for doing it, but it's
> still wrong.

Yet netmasks are bit-oriented, thus more intelligible as hex
integers.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2011 Jasper Spaans