From owner-svn-src-head@FreeBSD.ORG Thu Jan 19 19:18:47 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3419106564A; Thu, 19 Jan 2012 19:18:47 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 395948FC0A; Thu, 19 Jan 2012 19:18:46 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q0JJIjWE044426; Thu, 19 Jan 2012 23:18:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q0JJIjIO044425; Thu, 19 Jan 2012 23:18:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 19 Jan 2012 23:18:44 +0400 From: Gleb Smirnoff To: Gleb Kurtsou Message-ID: <20120119191844.GA12760@FreeBSD.org> References: <201201160953.q0G9rPp8026625@svn.freebsd.org> <20120119143837.GA28308@reks> <20120119145132.GZ12760@FreeBSD.org> <20120119164627.GA42205@reks> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20120119164627.GA42205@reks> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r230207 - in head/sys: netinet sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 19:18:47 -0000 On Thu, Jan 19, 2012 at 06:46:27PM +0200, Gleb Kurtsou wrote: G> > I wouldn't claim compatibility for the commands that didn't work very well. G> > I won't also name Linux, since these commands predate the Linux itself. G> G> I meant that SIOCSIFADDR is default (if not the only) way to set G> interface address on linux. If this is true, then I am almost sure that their SIOCSIFADDR is not the command I have removed, but something similar to our SIOCAIFADDR. Our SIOCSIFADDR added a classful prefix on the interface. G> > Do you use them? Or do you know software that use them? G> G> I do and I've seen other examples of using SIOCSIF*ADDR with BSD G> specific tweaks. Although I must admit that nowadays the most common way G> of configuring interface is to call /sbin/ifconfig. Where did you see that examples? In the "TCP/IP Illustrated"? G> It's not a big deal for me, I have no problem with replacing them on G> FreeBSD. FreeBSD is not even officially supported platform for the G> product and I build/test on FreeBSD solely for the purpose of avoiding G> linuxisms and platform specific behaviour. Let's hope it won't break for G> somebody else :) I'm pretty sure it will not break anyone, except for people still living in Internet with classdful addressing. Do you know any? -- Totus tuus, Glebius.