ifconfig output: ipv4 netmask format

Daniel Gerzo danger at freebsd.org
Fri Apr 8 14:43:38 UTC 2011

 On Fri, 08 Apr 2011 16:08:38 +0400, Sergey Vinogradov wrote:
> Hi, hackers.
> I have a question: why ipv4 netmask is displayed by ifconfig in hex
> format? Isn't dot-decimal notation more human-readable? Will the
> attached patch break something in the very bad way?

 At least, it may break some scripts.
 I guess it would be better to add an option to display netmask in a 
 dot-decimal format.

 Kind regards

More information about the freebsd-hackers mailing list