From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 8 14:43:38 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2333F106567B for ; Fri, 8 Apr 2011 14:43:38 +0000 (UTC) (envelope-from hosting@syscare.sk) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id D25EE8FC1F for ; Fri, 8 Apr 2011 14:43:37 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id 94F8494ED3 for ; Fri, 8 Apr 2011 16:27:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.syscare.sk ([188.40.39.36]) by services.syscare.sk (services.rulez.sk [188.40.39.36]) (amavisd-new, port 10024) with ESMTP id W2bpjEixNgfh for ; Fri, 8 Apr 2011 16:27:08 +0200 (CEST) Received: from hosting.syscare.sk (hosting [188.40.39.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by services.syscare.sk (Postfix) with ESMTPS id E2E0494EBF for ; Fri, 8 Apr 2011 16:27:08 +0200 (CEST) Received: (from www@localhost) by hosting.syscare.sk (8.14.4/8.14.4/Submit) id p38ER8V1020349; Fri, 8 Apr 2011 16:27:08 +0200 (CEST) (envelope-from hosting@syscare.sk) X-Authentication-Warning: hosting.syscare.sk: www set sender to hosting@syscare.sk using -f To: X-PHP-Originating-Script: 0:func.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 08 Apr 2011 15:27:08 +0100 From: Daniel Gerzo Organization: The FreeBSD Project In-Reply-To: <4D9EFAC6.4020906@lazybytes.org> References: <4D9EFAC6.4020906@lazybytes.org> Message-ID: <4e8c0b7c62b660d2d309c61ca0d00cf1@rulez.sk> X-Sender: danger@FreeBSD.org User-Agent: Roundcube Webmail/0.5.1 Subject: Re: ifconfig output: ipv4 netmask format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2011 14:43:38 -0000 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