Date: Thu, 09 Sep 2004 08:24:59 +0900 From: "George V. Neville-Neil" <gnn@neville-neil.com> To: Artis Caune <artis@fbsd.lv> Cc: freebsd-net@freebsd.org Subject: Re: ifconfig.c && netmask Message-ID: <m2llfkny2c.wl@minion.local.neville-neil.com> In-Reply-To: <1094660258.1597.405.camel@localhost> References: <1094660258.1597.405.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 08 Sep 2004 19:17:38 +0300, Artis Caune wrote: > > How come that ifconfig prints netmask in hex? > > Isn't > "inet 127.0.0.1 netmask 255.0.0.0" > more readable than > "inet 127.0.0.1 netmask 0xff000000" > > why 'route get x.x.x.x' gives mask in decimal? > ;)) > > > Is it some posix standart or something historical or will it brake some > scripts? > It's historical. Later, George
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2llfkny2c.wl>