Re: ifconfig output: ipv4 netmask format
- From: Mike Oliver <mwoliver@xxxxxxxxx>
- Date: Fri, 8 Apr 2011 11:23:59 -0400
On Fri, Apr 8, 2011 at 08:08, Sergey Vinogradov <boogie@xxxxxxxxxxxxx> 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?
Who's using IPv4 anymore? ;-)
Seriously though, if you give a small amount of time to learning the
hex -> binary translations then you would see how convenient it is to
use hex rather than decimal when representing what are ultimately
binary numbers.
See this blog entry by Jeff Doyle...
http://www.networkworld.com/community/blog/how-are-your-hexadecimal-skills
--
Mike Oliver, KT2T
+1-863-738-2334
kt2t@xxxxxxxx -or- mwoliver@xxxxxxxxx
Twitter: @mwoliver
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: ifconfig output: ipv4 netmask format
- From: Sergey Vinogradov
- Re: ifconfig output: ipv4 netmask format
- References:
- ifconfig output: ipv4 netmask format
- From: Sergey Vinogradov
- ifconfig output: ipv4 netmask format
- Prev by Date: Re: ifconfig output: ipv4 netmask format
- Next by Date: Re: ifconfig output: ipv4 netmask format
- Previous by thread: Re: ifconfig output: ipv4 netmask format
- Next by thread: Re: ifconfig output: ipv4 netmask format
- Index(es):
Relevant Pages
|