Date: Fri, 8 Apr 2011 09:23:05 -0600 From: Warner Losh <imp@bsdimp.com> To: Sergey Vinogradov <boogie@lazybytes.org> Cc: FreeBSD Hackers <freebsd-hackers@FreeBSD.org> Subject: Re: ifconfig output: ipv4 netmask format Message-ID: <7EA5889E-77EF-4BAE-9655-C33692A75602@bsdimp.com> 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 Apr 8, 2011, at 6:08 AM, 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? This is a gratuitous change that would break scripts. Hex has been used = for a very long time, and most people know how to cope. If we really wanted to make it human readable, we'd output 10.2.3.4/24 Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7EA5889E-77EF-4BAE-9655-C33692A75602>