From owner-svn-src-all@FreeBSD.ORG Fri Aug 28 07:27:52 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B77F1066A2F; Fri, 28 Aug 2009 07:27:52 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 81A5691BD2; Fri, 28 Aug 2009 04:03:45 +0000 (UTC) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 22EAB5C06F; Fri, 28 Aug 2009 12:03:28 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 932C855CDD50; Fri, 28 Aug 2009 12:03:26 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id I2ZwGR1ZbkRd; Fri, 28 Aug 2009 12:02:33 +0800 (CST) Received: from charlie.delphij.net (c-67-188-2-183.hsd1.ca.comcast.net [67.188.2.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id CF05855CDD42; Fri, 28 Aug 2009 12:02:25 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=otpUCaI+f1Z1TfgOTK6t+AZPT4cGvvi4b6wGL5rItJx4/aAqGoIrz0dVvtOb/EJlS u59NAF3rjCbtVlDFy26sg== Message-ID: <4A9756BF.2060905@delphij.net> Date: Thu, 27 Aug 2009 21:02:07 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.22 (X11/20090803) MIME-Version: 1.0 To: Doug Barton References: <200908251907.n7PJ7QiO036868@svn.freebsd.org> <20090825194258.GB1471@tops> <20090826101953.GC3055@garage.freebsd.pl> <4A959020.4040606@FreeBSD.org> <20090827135526.GI1752@garage.freebsd.pl> <4A96CE01.3010904@FreeBSD.org> <4A96E2F3.4080506@delphij.net> <4A96F2C4.7020207@FreeBSD.org> <4A96F66B.9040205@delphij.net> <4A975542.1060600@FreeBSD.org> In-Reply-To: <4A975542.1060600@FreeBSD.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Gleb Kurtsou , src-committers@FreeBSD.ORG, Pawel Jakub Dawidek , svn-src-all@FreeBSD.ORG, Xin LI , svn-src-head@FreeBSD.ORG, d@delphij.net Subject: Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 07:27:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Doug Barton wrote: > Xin LI wrote: > >> I think /etc/rc.d/static_arp stop should revert what was done by >> static_arp start by removing entries from the ARP table. > > I agree with you. > >> Gleb has >> kindly worked out a patch that adds '-d -f' functionality. > > But wouldn't it be easier to just parse the file and undo whatever arp > -f does? It's up to you, but I would not be supportive of making > changes to the arp binary this late in the release cycle. Yes this is done by Gleb's patch. I think it's more reasonable to teach arp(8) about this for completeness reasons. I.e. I feel sensible that if arp(8) can do '-f' then it is supposed to undo the effect. My $0.02 :) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqXVr8ACgkQi+vbBBjt66CPHQCgmkIQQoAZSlmy+ooPVfRzRwvx gCkAn0GgjhXX0ahYK0cQvWjIs3XIuiCm =qSU/ -----END PGP SIGNATURE-----