Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2011 15:27:08 +0100
From:      Daniel Gerzo <danger@freebsd.org>
To:        <freebsd-hackers@freebsd.org>
Subject:   Re: ifconfig output: ipv4 netmask format
Message-ID:  <4e8c0b7c62b660d2d309c61ca0d00cf1@rulez.sk>
In-Reply-To: <4D9EFAC6.4020906@lazybytes.org>
References:  <4D9EFAC6.4020906@lazybytes.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 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
   Daniel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e8c0b7c62b660d2d309c61ca0d00cf1>